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

Unified Diff: ppapi/proxy/ppb_file_system_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_file_ref_proxy.cc ('k') | ppapi/proxy/ppb_file_system_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/ppb_file_system_proxy.h
diff --git a/ppapi/proxy/ppb_file_system_proxy.h b/ppapi/proxy/ppb_file_system_proxy.h
index dcf94b37221be71af10c6bc3389340a3768b9921..795abcb938905782cdcf8fa372d00adf2fc0e9d9 100644
--- a/ppapi/proxy/ppb_file_system_proxy.h
+++ b/ppapi/proxy/ppb_file_system_proxy.h
@@ -18,11 +18,13 @@
struct PPB_FileSystem_Dev;
+namespace ppapi {
+class HostResource;
+}
+
namespace pp {
namespace proxy {
-class HostResource;
-
class PPB_FileSystem_Proxy : public InterfaceProxy {
public:
PPB_FileSystem_Proxy(Dispatcher* dispatcher, const void* target_interface);
@@ -40,14 +42,15 @@ class PPB_FileSystem_Proxy : public InterfaceProxy {
// Message handlers.
void OnMsgCreate(PP_Instance instance,
int type,
- HostResource* result);
- void OnMsgOpen(const HostResource& filesystem,
+ ppapi::HostResource* result);
+ void OnMsgOpen(const ppapi::HostResource& filesystem,
int64_t expected_size);
- void OnMsgOpenComplete(const HostResource& filesystem,
+ void OnMsgOpenComplete(const ppapi::HostResource& filesystem,
int32_t result);
- void OpenCompleteInHost(int32_t result, const HostResource& host_resource);
+ void OpenCompleteInHost(int32_t result,
+ const ppapi::HostResource& host_resource);
CompletionCallbackFactory<PPB_FileSystem_Proxy,
ProxyNonThreadSafeRefCount> callback_factory_;
« no previous file with comments | « ppapi/proxy/ppb_file_ref_proxy.cc ('k') | ppapi/proxy/ppb_file_system_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698