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

Unified Diff: ppapi/proxy/ppp_find_proxy.cc

Issue 197623005: Rename PPB_Find_Dev to PPB_Find_Private (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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/ppp_find_proxy.h ('k') | ppapi/shared_impl/api_id.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/ppp_find_proxy.cc
diff --git a/ppapi/proxy/ppp_find_proxy.cc b/ppapi/proxy/ppp_find_proxy.cc
index 0547e61867b757e9afdbab55fc663027a53213e3..abd5663ba7e8be4769529f0544ae34339d6092c5 100644
--- a/ppapi/proxy/ppp_find_proxy.cc
+++ b/ppapi/proxy/ppp_find_proxy.cc
@@ -20,7 +20,7 @@ PP_Bool StartFind(PP_Instance instance,
PP_Bool case_sensitive) {
DCHECK(case_sensitive == PP_FALSE);
HostDispatcher::GetForInstance(instance)->Send(
- new PpapiPluginMsg_PPPFind_StartFind(API_ID_PPP_FIND_DEV,
+ new PpapiPluginMsg_PPPFind_StartFind(API_ID_PPP_FIND_PRIVATE,
instance,
text));
return PP_TRUE;
@@ -29,23 +29,23 @@ PP_Bool StartFind(PP_Instance instance,
void SelectFindResult(PP_Instance instance,
PP_Bool forward) {
HostDispatcher::GetForInstance(instance)->Send(
- new PpapiPluginMsg_PPPFind_SelectFindResult(API_ID_PPP_FIND_DEV,
+ new PpapiPluginMsg_PPPFind_SelectFindResult(API_ID_PPP_FIND_PRIVATE,
instance, forward));
}
void StopFind(PP_Instance instance) {
HostDispatcher::GetForInstance(instance)->Send(
- new PpapiPluginMsg_PPPFind_StopFind(API_ID_PPP_FIND_DEV, instance));
+ new PpapiPluginMsg_PPPFind_StopFind(API_ID_PPP_FIND_PRIVATE, instance));
}
-const PPP_Find_Dev ppp_find_interface = {
+const PPP_Find_Private ppp_find_interface = {
&StartFind,
&SelectFindResult,
&StopFind
};
#else
// The NaCl plugin doesn't need the host side interface - stub it out.
-const PPP_Find_Dev ppp_find_interface = {};
+const PPP_Find_Private ppp_find_interface = {};
#endif
} // namespace
@@ -54,8 +54,8 @@ PPP_Find_Proxy::PPP_Find_Proxy(Dispatcher* dispatcher)
: InterfaceProxy(dispatcher),
ppp_find_(NULL) {
if (dispatcher->IsPlugin()) {
- ppp_find_ = static_cast<const PPP_Find_Dev*>(
- dispatcher->local_get_interface()(PPP_FIND_DEV_INTERFACE));
+ ppp_find_ = static_cast<const PPP_Find_Private*>(
+ dispatcher->local_get_interface()(PPP_FIND_PRIVATE_INTERFACE));
}
}
@@ -63,7 +63,7 @@ PPP_Find_Proxy::~PPP_Find_Proxy() {
}
// static
-const PPP_Find_Dev* PPP_Find_Proxy::GetProxyInterface() {
+const PPP_Find_Private* PPP_Find_Proxy::GetProxyInterface() {
return &ppp_find_interface;
}
« no previous file with comments | « ppapi/proxy/ppp_find_proxy.h ('k') | ppapi/shared_impl/api_id.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698