Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(407)

Unified Diff: ppapi/proxy/ppb_flash_net_connector_proxy.cc

Issue 8333004: Rename InterfaceID to ApiID and move the file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/proxy/ppb_flash_menu_proxy.cc ('k') | ppapi/proxy/ppb_flash_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/ppb_flash_net_connector_proxy.cc
diff --git a/ppapi/proxy/ppb_flash_net_connector_proxy.cc b/ppapi/proxy/ppb_flash_net_connector_proxy.cc
index 323059ef7ce4ab2e92a5d4a1a1356ec51c228094..dee10278475dcd2dd153accc80a8e0ec9313e3f6 100644
--- a/ppapi/proxy/ppb_flash_net_connector_proxy.cc
+++ b/ppapi/proxy/ppb_flash_net_connector_proxy.cc
@@ -117,7 +117,7 @@ int32_t FlashNetConnector::ConnectTcp(
PP_CompletionCallback callback) {
return ConnectWithMessage(
new PpapiHostMsg_PPBFlashNetConnector_ConnectTcp(
- INTERFACE_ID_PPB_FLASH_NETCONNECTOR, host_resource(), host, port),
+ API_ID_PPB_FLASH_NETCONNECTOR, host_resource(), host, port),
socket_out, local_addr_out, remote_addr_out, callback);
}
@@ -129,7 +129,7 @@ int32_t FlashNetConnector::ConnectTcpAddress(
PP_CompletionCallback callback) {
return ConnectWithMessage(
new PpapiHostMsg_PPBFlashNetConnector_ConnectTcpAddress(
- INTERFACE_ID_PPB_FLASH_NETCONNECTOR,
+ API_ID_PPB_FLASH_NETCONNECTOR,
host_resource(), NetAddressToString(*addr)),
socket_out, local_addr_out, remote_addr_out, callback);
}
@@ -209,7 +209,7 @@ const InterfaceProxy::Info* PPB_Flash_NetConnector_Proxy::GetInfo() {
static const Info info = {
ppapi::thunk::GetPPB_Flash_NetConnector_Thunk(),
PPB_FLASH_NETCONNECTOR_INTERFACE,
- INTERFACE_ID_PPB_FLASH_NETCONNECTOR,
+ API_ID_PPB_FLASH_NETCONNECTOR,
false,
&CreateFlashNetConnectorProxy
};
@@ -225,7 +225,7 @@ PP_Resource PPB_Flash_NetConnector_Proxy::CreateProxyResource(
HostResource result;
dispatcher->Send(new PpapiHostMsg_PPBFlashNetConnector_Create(
- INTERFACE_ID_PPB_FLASH_NETCONNECTOR, instance, &result));
+ API_ID_PPB_FLASH_NETCONNECTOR, instance, &result));
if (result.is_null())
return 0;
return (new FlashNetConnector(result))->GetReference();
@@ -324,7 +324,7 @@ void PPB_Flash_NetConnector_Proxy::OnCompleteCallbackInHost(
if (result == PP_OK) {
dispatcher()->Send(new PpapiMsg_PPBFlashNetConnector_ConnectACK(
- INTERFACE_ID_PPB_FLASH_NETCONNECTOR,
+ API_ID_PPB_FLASH_NETCONNECTOR,
info->resource, result,
dispatcher()->ShareHandleWithRemote(
static_cast<base::PlatformFile>(info->handle), true),
@@ -332,7 +332,7 @@ void PPB_Flash_NetConnector_Proxy::OnCompleteCallbackInHost(
NetAddressToString(info->remote_addr)));
} else {
dispatcher()->Send(new PpapiMsg_PPBFlashNetConnector_ConnectACK(
- INTERFACE_ID_PPB_FLASH_NETCONNECTOR,
+ API_ID_PPB_FLASH_NETCONNECTOR,
info->resource, result,
IPC::InvalidPlatformFileForTransit(), std::string(), std::string()));
}
« no previous file with comments | « ppapi/proxy/ppb_flash_menu_proxy.cc ('k') | ppapi/proxy/ppb_flash_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698