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

Unified Diff: ppapi/proxy/ppb_file_chooser_proxy.h

Issue 7623018: Move host resource from the proxy to the shared_impl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comments addressed Created 9 years, 4 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/ppb_cursor_control_proxy.cc ('k') | ppapi/proxy/ppb_file_chooser_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/ppb_file_chooser_proxy.h
diff --git a/ppapi/proxy/ppb_file_chooser_proxy.h b/ppapi/proxy/ppb_file_chooser_proxy.h
index 4b83e95062c16b918d9303657a060d3ad8b9d55c..513399eac2a37d3c01c5b1edcffaba9ad0cad6c9 100644
--- a/ppapi/proxy/ppb_file_chooser_proxy.h
+++ b/ppapi/proxy/ppb_file_chooser_proxy.h
@@ -17,10 +17,13 @@
struct PPB_FileChooser_Dev;
+namespace ppapi {
+class HostResource;
+}
+
namespace pp {
namespace proxy {
-class HostResource;
struct PPBFileRef_CreateInfo;
class PPB_FileChooser_Proxy : public InterfaceProxy {
@@ -46,18 +49,18 @@ class PPB_FileChooser_Proxy : public InterfaceProxy {
void OnMsgCreate(PP_Instance instance,
int mode,
const std::string& accept_mime_types,
- pp::proxy::HostResource* result);
- void OnMsgShow(const pp::proxy::HostResource& chooser);
+ ppapi::HostResource* result);
+ void OnMsgShow(const ppapi::HostResource& chooser);
// Host -> plugin message handlers.
void OnMsgChooseComplete(
- const pp::proxy::HostResource& chooser,
+ const ppapi::HostResource& chooser,
int32_t result_code,
const std::vector<PPBFileRef_CreateInfo>& chosen_files);
// Called when the show is complete in the host. This will notify the plugin
// via IPC and OnMsgChooseComplete will be called there.
- void OnShowCallback(int32_t result, const HostResource& chooser);
+ void OnShowCallback(int32_t result, const ppapi::HostResource& chooser);
CompletionCallbackFactory<PPB_FileChooser_Proxy,
ProxyNonThreadSafeRefCount> callback_factory_;
« no previous file with comments | « ppapi/proxy/ppb_cursor_control_proxy.cc ('k') | ppapi/proxy/ppb_file_chooser_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698