5 #ifndef NACL_PLAYER_URL_DATA_SOURCE_H_ 6 #define NACL_PLAYER_URL_DATA_SOURCE_H_ 12 #include "nacl_player/media_common.h" 13 #include "nacl_player/media_data_source.h" 34 namespace NaClPlayer {
60 const std::function<
void(int32_t,
const std::string&)>& callback);
88 const std::string& value,
89 const std::function<
void(int32_t)>& callback);
99 const std::string& value);
102 MediaDataSource::Impl* impl()
const;
106 std::unique_ptr<Impl> pimpl_;
112 #endif // NACL_PLAYER_URL_DATA_SOURCE_H_ int32_t GetStreamingProperty(StreamingProperty type, const std::function< void(int32_t, const std::string &)> &callback)
URLDataSource(const std::string &url)
int32_t SetStreamingProperty(StreamingProperty type, const std::string &value, const std::function< void(int32_t)> &callback)