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/file_chooser_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 | « no previous file | ppapi/proxy/flash_device_id_resource.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/file_chooser_resource.cc
diff --git a/ppapi/proxy/file_chooser_resource.cc b/ppapi/proxy/file_chooser_resource.cc
index f41ade58b8a87d93c3bd2ccf74184a3e820eb694..5c110125d07c1ff1c9234979c30c5eb0152338b8 100644
--- a/ppapi/proxy/file_chooser_resource.cc
+++ b/ppapi/proxy/file_chooser_resource.cc
@@ -130,7 +130,7 @@ int32_t FileChooserResource::ShowInternal(
return PP_ERROR_INPROGRESS;
if (!sent_create_to_renderer())
- SendCreateToRenderer(PpapiHostMsg_FileChooser_Create());
+ SendCreate(RENDERER, PpapiHostMsg_FileChooser_Create());
callback_ = callback;
StringVar* sugg_str = StringVar::FromPPVar(suggested_file_name);
@@ -140,7 +140,7 @@ int32_t FileChooserResource::ShowInternal(
mode_ == PP_FILECHOOSERMODE_OPENMULTIPLE,
sugg_str ? sugg_str->value() : std::string(),
accept_types_);
- CallRenderer<PpapiPluginMsg_FileChooser_ShowReply>(msg,
+ Call<PpapiPluginMsg_FileChooser_ShowReply>(RENDERER, msg,
base::Bind(&FileChooserResource::OnPluginMsgShowReply, this));
return PP_OK_COMPLETIONPENDING;
}
« no previous file with comments | « no previous file | ppapi/proxy/flash_device_id_resource.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698