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

Unified Diff: ppapi/proxy/file_chooser_resource.h

Issue 10815073: Refactoring of new IPC-only pepper implementation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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/file_chooser_resource.h
diff --git a/ppapi/proxy/file_chooser_resource.h b/ppapi/proxy/file_chooser_resource.h
index adb20a41e1186c7a6eb8a7ee85baf3ce99a861c1..ecf4e879a8ef414e24fbdb11a6e1de899ada30c0 100644
--- a/ppapi/proxy/file_chooser_resource.h
+++ b/ppapi/proxy/file_chooser_resource.h
@@ -25,7 +25,7 @@ class PPAPI_PROXY_EXPORT FileChooserResource
: public PluginResource,
public NON_EXPORTED_BASE(thunk::PPB_FileChooser_API) {
public:
- FileChooserResource(IPC::Sender* sender,
+ FileChooserResource(Connection connection,
PP_Instance instance,
PP_FileChooserMode_Dev mode,
const std::string& accept_types);
@@ -55,12 +55,12 @@ class PPAPI_PROXY_EXPORT FileChooserResource
private:
// PluginResource override.
- virtual void OnReplyReceived(int sequence,
- int32_t result,
+ virtual void OnReplyReceived(const ResourceMessageReplyParams& params,
const IPC::Message& msg) OVERRIDE;
void OnPluginMsgShowReply(
- const std::vector<ppapi::PPB_FileRef_CreateInfo>& chosen_files);
+ const ResourceMessageReplyParams& params,
+ const std::vector<PPB_FileRef_CreateInfo>& chosen_files);
int32_t ShowInternal(PP_Bool save_as,
const PP_Var& suggested_file_name,

Powered by Google App Engine
This is Rietveld 408576698