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

Unified Diff: content/renderer/pepper/pepper_file_chooser_host.h

Issue 21966004: Pepper: Move FileRef to the "new" resource proxy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Another rebase Created 7 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: content/renderer/pepper/pepper_file_chooser_host.h
diff --git a/content/renderer/pepper/pepper_file_chooser_host.h b/content/renderer/pepper/pepper_file_chooser_host.h
index af27768e5418e0715c29c01165745a89f9aefb55..52f7c5f5bdbdcc48ece1d6cfb1ba231b3ebcc1ce 100644
--- a/content/renderer/pepper/pepper_file_chooser_host.h
+++ b/content/renderer/pepper/pepper_file_chooser_host.h
@@ -15,6 +15,10 @@
#include "ppapi/host/resource_host.h"
#include "ppapi/proxy/resource_message_params.h"
+namespace ppapi {
+struct FileRefCreateInfo;
+}
+
namespace content {
class RendererPpapiHost;
@@ -51,12 +55,18 @@ class CONTENT_EXPORT PepperFileChooserHost
const std::string& suggested_file_name,
const std::vector<std::string>& accept_mime_types);
+ void DidCreateResourceHosts(const std::vector<base::FilePath>& file_paths,
+ const std::vector<std::string>& display_names,
+ const std::vector<int>& browser_ids);
+
// Non-owning pointer.
RendererPpapiHost* renderer_ppapi_host_;
ppapi::host::ReplyMessageContext reply_context_;
CompletionHandler* handler_;
+ base::WeakPtrFactory<PepperFileChooserHost> weak_factory_;
+
DISALLOW_COPY_AND_ASSIGN(PepperFileChooserHost);
};
« no previous file with comments | « content/renderer/pepper/pepper_browser_connection.cc ('k') | content/renderer/pepper/pepper_file_chooser_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698