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

Unified Diff: ppapi/proxy/flash_device_id_resource.cc

Issue 11106019: PluginResource: Avoid having two sets of similar methods for talking with browser and renderer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 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/file_chooser_resource.cc ('k') | ppapi/proxy/flash_font_file_resource.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/flash_device_id_resource.cc
diff --git a/ppapi/proxy/flash_device_id_resource.cc b/ppapi/proxy/flash_device_id_resource.cc
index 1698b499de1a9d89659a62fe7a48ca571d42f6d1..d7174bd7d78be101f7d22b460925b8b1e7cf5924 100644
--- a/ppapi/proxy/flash_device_id_resource.cc
+++ b/ppapi/proxy/flash_device_id_resource.cc
@@ -17,7 +17,7 @@ FlashDeviceIDResource::FlashDeviceIDResource(Connection connection,
PP_Instance instance)
: PluginResource(connection, instance),
dest_(NULL) {
- SendCreateToBrowser(PpapiHostMsg_FlashDeviceID_Create());
+ SendCreate(BROWSER, PpapiHostMsg_FlashDeviceID_Create());
}
FlashDeviceIDResource::~FlashDeviceIDResource() {
@@ -39,7 +39,8 @@ int32_t FlashDeviceIDResource::GetDeviceID(
dest_ = id;
callback_ = callback;
- CallBrowser<PpapiPluginMsg_FlashDeviceID_GetDeviceIDReply>(
+ Call<PpapiPluginMsg_FlashDeviceID_GetDeviceIDReply>(
+ BROWSER,
PpapiHostMsg_FlashDeviceID_GetDeviceID(),
base::Bind(&FlashDeviceIDResource::OnPluginMsgGetDeviceIDReply, this));
return PP_OK_COMPLETIONPENDING;
« no previous file with comments | « ppapi/proxy/file_chooser_resource.cc ('k') | ppapi/proxy/flash_font_file_resource.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698