7 #include "ppapi/c/pp_errors.h"
15 template <>
const char* interface_name<PPB_URLDataSource_Samsung_1_0>() {
16 return PPB_URLDATASOURCE_SAMSUNG_INTERFACE;
22 const std::string& url) {
23 if (has_interface<PPB_URLDataSource_Samsung_1_0>()) {
51 PP_StreamingProperty type,
53 if (has_interface<PPB_URLDataSource_Samsung_1_0>()) {
59 return callback.
MayForce(PP_ERROR_NOINTERFACE);
63 PP_StreamingProperty type,
66 if (has_interface<PPB_URLDataSource_Samsung_1_0>()) {
72 return callback.
MayForce(PP_ERROR_NOINTERFACE);
URLDataSource_Samsung & operator=(const URLDataSource_Samsung &other)
void PassRefFromConstructor(PP_Resource resource)
APIArgType output() const
int32_t MayForce(int32_t result) const
const PP_CompletionCallback & pp_completion_callback() const
const PP_Var & pp_var() const
int32_t GetStreamingProperty(PP_StreamingProperty type, const CompletionCallbackWithOutput< pp::Var > &callback)
virtual ~URLDataSource_Samsung()
PP_Resource pp_resource() const
A generic type used for passing data types between the module and the page.
PP_Instance pp_instance() const
int32_t SetStreamingProperty(PP_StreamingProperty type, const Var &value, const CompletionCallback &callback)
URLDataSource_Samsung(const InstanceHandle &instance, const std::string &url)