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

Unified Diff: ppapi/proxy/dispatcher.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/dispatcher.h ('k') | ppapi/proxy/interface_id.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/dispatcher.cc
diff --git a/ppapi/proxy/dispatcher.cc b/ppapi/proxy/dispatcher.cc
index 8381c6a453ad5664b58f1b5145cfb86dbc9f3ecb..1d8614da38694c183a9b76029427799780ff17af 100644
--- a/ppapi/proxy/dispatcher.cc
+++ b/ppapi/proxy/dispatcher.cc
@@ -28,7 +28,7 @@ Dispatcher::Dispatcher(base::ProcessHandle remote_process_handle,
Dispatcher::~Dispatcher() {
}
-InterfaceProxy* Dispatcher::GetInterfaceProxy(InterfaceID id) {
+InterfaceProxy* Dispatcher::GetInterfaceProxy(ApiID id) {
InterfaceProxy* proxy = proxies_[id].get();
if (!proxy) {
// Handle the first time for a given API by creating the proxy for it.
@@ -66,13 +66,13 @@ bool Dispatcher::OnMessageReceived(const IPC::Message& msg) {
return handled;
}
- if (msg.routing_id() <= 0 || msg.routing_id() >= INTERFACE_ID_COUNT) {
+ if (msg.routing_id() <= 0 || msg.routing_id() >= API_ID_COUNT) {
OnInvalidMessageReceived();
return true;
}
InterfaceProxy* proxy = GetInterfaceProxy(
- static_cast<InterfaceID>(msg.routing_id()));
+ static_cast<ApiID>(msg.routing_id()));
if (!proxy) {
NOTREACHED();
return true;
« no previous file with comments | « ppapi/proxy/dispatcher.h ('k') | ppapi/proxy/interface_id.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698