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

Unified Diff: ppapi/proxy/printing_resource.h

Issue 11022005: Converted PluginResource reply message handling to use base::Callback (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 3 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
Index: ppapi/proxy/printing_resource.h
diff --git a/ppapi/proxy/printing_resource.h b/ppapi/proxy/printing_resource.h
index d99b4594cf5e3bd10b6b3788531bf7652d68e4b5..1f9216ba9ab6dd2b3b809bdbdfddf400f3f009fd 100644
--- a/ppapi/proxy/printing_resource.h
+++ b/ppapi/proxy/printing_resource.h
@@ -31,17 +31,11 @@ class PPAPI_PROXY_EXPORT PrintingResource
scoped_refptr<TrackedCallback> callback) OVERRIDE;
private:
- // PluginResource override.
- virtual void OnReplyReceived(const ResourceMessageReplyParams& params,
- const IPC::Message& msg) OVERRIDE;
-
void OnPluginMsgGetDefaultPrintSettingsReply(
+ PP_PrintSettings_Dev* settings_out,
+ scoped_refptr<TrackedCallback> callback,
const ResourceMessageReplyParams& params,
- const PP_PrintSettings_Dev& print_settings);
-
- PP_PrintSettings_Dev* print_settings_;
-
- scoped_refptr<TrackedCallback> callback_;
+ const PP_PrintSettings_Dev& settings);
DISALLOW_COPY_AND_ASSIGN(PrintingResource);
};

Powered by Google App Engine
This is Rietveld 408576698