7 #include "ppapi/c/ppb_network_proxy.h"
14 template <>
const char* interface_name<PPB_NetworkProxy_1_0>() {
15 return PPB_NETWORKPROXY_INTERFACE_1_0;
22 return has_interface<PPB_NetworkProxy_1_0>();
30 if (!has_interface<PPB_NetworkProxy_1_0>())
31 return callback.
MayForce(PP_ERROR_NOINTERFACE);
APIArgType output() const
int32_t MayForce(int32_t result) const
const PP_CompletionCallback & pp_completion_callback() const
const PP_Var & pp_var() const
static bool IsAvailable()
Returns true if the browser supports this API, false otherwise.
static int32_t GetProxyForURL(const InstanceHandle &instance, const Var &url, const pp::CompletionCallbackWithOutput< Var > &callback)
A generic type used for passing data types between the module and the page.
PP_Instance pp_instance() const