From ac4b54de7f49f4f0910b952888eb44fc55737195 Mon Sep 17 00:00:00 2001 From: "brettw@chromium.org" Date: Thu, 20 Oct 2011 23:09:28 +0000 Subject: Rename InterfaceID to ApiID and move the file. This was originally in the proxy and had a 1:1 correspondence with an interface. Then we reused this for other stuff and then merged some interfaces into larger APIs (ppapi/thunk/*_api.h) so the name was no longer accurate. It was wrong to be in the proxy directory since directories at a "lower level" than the proxy (ppapi/shared_impl and webkit/plugins/ppapi) depended on it. This renames to ApiID (I avoided APIID since it looks like a define) which is the proper description of the class, and moved it to shared_impl. This fixes the deps since there are no longer any bad dependencies on the proxy directory. TEST=it compiles BUG=none Review URL: http://codereview.chromium.org/8333004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106619 0039d316-1c4b-4281-b951-d872f2087c98 --- ppapi/proxy/ppb_broker_proxy.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ppapi/proxy/ppb_broker_proxy.cc') diff --git a/ppapi/proxy/ppb_broker_proxy.cc b/ppapi/proxy/ppb_broker_proxy.cc index d0f7112..d65af66 100644 --- a/ppapi/proxy/ppb_broker_proxy.cc +++ b/ppapi/proxy/ppb_broker_proxy.cc @@ -112,7 +112,7 @@ int32_t Broker::Connect(PP_CompletionCallback connect_callback) { bool success = PluginDispatcher::GetForResource(this)->Send( new PpapiHostMsg_PPBBroker_Connect( - INTERFACE_ID_PPB_BROKER, host_resource())); + API_ID_PPB_BROKER, host_resource())); return success ? PP_OK_COMPLETIONPENDING : PP_ERROR_FAILED; } @@ -160,7 +160,7 @@ PP_Resource PPB_Broker_Proxy::CreateProxyResource(PP_Instance instance) { HostResource result; dispatcher->Send(new PpapiHostMsg_PPBBroker_Create( - INTERFACE_ID_PPB_BROKER, instance, &result)); + API_ID_PPB_BROKER, instance, &result)); if (result.is_null()) return 0; return (new Broker(result))->GetReference(); @@ -248,7 +248,7 @@ void PPB_Broker_Proxy::ConnectCompleteInHost(int32_t result, foreign_socket_handle == IPC::InvalidPlatformFileForTransit()); bool success = dispatcher()->Send(new PpapiMsg_PPBBroker_ConnectComplete( - INTERFACE_ID_PPB_BROKER, broker, foreign_socket_handle, result)); + API_ID_PPB_BROKER, broker, foreign_socket_handle, result)); if (!success || result != PP_OK) { // The plugin did not receive the handle, so it must be closed. -- cgit v1.1