| Index: ppapi/proxy/ppb_url_request_info_proxy.cc
|
| ===================================================================
|
| --- ppapi/proxy/ppb_url_request_info_proxy.cc (revision 73960)
|
| +++ ppapi/proxy/ppb_url_request_info_proxy.cc (working copy)
|
| @@ -118,7 +118,7 @@
|
| return PP_TRUE;
|
| }
|
|
|
| -const PPB_URLRequestInfo ppb_urlrequestinfo = {
|
| +const PPB_URLRequestInfo urlrequestinfo_interface = {
|
| &Create,
|
| &IsURLRequestInfo,
|
| &SetProperty,
|
| @@ -126,6 +126,11 @@
|
| &AppendFileToBody
|
| };
|
|
|
| +InterfaceProxy* CreateURLRequestInfoProxy(Dispatcher* dispatcher,
|
| + const void* target_interface) {
|
| + return new PPB_URLRequestInfo_Proxy(dispatcher, target_interface);
|
| +}
|
| +
|
| } // namespace
|
|
|
| PPB_URLRequestInfo_Proxy::PPB_URLRequestInfo_Proxy(
|
| @@ -137,14 +142,18 @@
|
| PPB_URLRequestInfo_Proxy::~PPB_URLRequestInfo_Proxy() {
|
| }
|
|
|
| -const void* PPB_URLRequestInfo_Proxy::GetSourceInterface() const {
|
| - return &ppb_urlrequestinfo;
|
| +// static
|
| +const InterfaceProxy::Info* PPB_URLRequestInfo_Proxy::GetInfo() {
|
| + static const Info info = {
|
| + &urlrequestinfo_interface,
|
| + PPB_URLREQUESTINFO_INTERFACE,
|
| + INTERFACE_ID_PPB_URL_REQUEST_INFO,
|
| + false,
|
| + &CreateURLRequestInfoProxy,
|
| + };
|
| + return &info;
|
| }
|
|
|
| -InterfaceID PPB_URLRequestInfo_Proxy::GetInterfaceId() const {
|
| - return INTERFACE_ID_PPB_URL_REQUEST_INFO;
|
| -}
|
| -
|
| bool PPB_URLRequestInfo_Proxy::OnMessageReceived(const IPC::Message& msg) {
|
| bool handled = true;
|
| IPC_BEGIN_MESSAGE_MAP(PPB_URLRequestInfo_Proxy, msg)
|
|
|