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

Unified Diff: ppapi/proxy/printing_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/plugin_resource.cc ('k') | ppapi/proxy/websocket_resource.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/printing_resource.cc
diff --git a/ppapi/proxy/printing_resource.cc b/ppapi/proxy/printing_resource.cc
index 22950c21ecf081b05e4e4cf4de66ee4a01b4e501..6c1ae17ae5608c42b38803b0b61fd2069e52f1dd 100644
--- a/ppapi/proxy/printing_resource.cc
+++ b/ppapi/proxy/printing_resource.cc
@@ -31,9 +31,10 @@ int32_t PrintingResource::GetDefaultPrintSettings(
return PP_ERROR_BADARGUMENT;
if (!sent_create_to_browser())
- SendCreateToBrowser(PpapiHostMsg_Printing_Create());
+ SendCreate(BROWSER, PpapiHostMsg_Printing_Create());
- CallBrowser<PpapiPluginMsg_Printing_GetDefaultPrintSettingsReply>(
+ Call<PpapiPluginMsg_Printing_GetDefaultPrintSettingsReply>(
+ BROWSER,
PpapiHostMsg_Printing_GetDefaultPrintSettings(),
base::Bind(&PrintingResource::OnPluginMsgGetDefaultPrintSettingsReply,
this, print_settings, callback));
« no previous file with comments | « ppapi/proxy/plugin_resource.cc ('k') | ppapi/proxy/websocket_resource.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698