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

Side by Side Diff: ppapi/proxy/ppb_file_ref_proxy.h

Issue 8772027: Convert file ref private to use new registration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add missing include Created 9 years 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/proxy/interface_list.cc ('k') | ppapi/proxy/ppb_file_ref_proxy.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef PPAPI_PROXY_PPB_FILE_REF_PROXY_H_ 5 #ifndef PPAPI_PROXY_PPB_FILE_REF_PROXY_H_
6 #define PPAPI_PROXY_PPB_FILE_REF_PROXY_H_ 6 #define PPAPI_PROXY_PPB_FILE_REF_PROXY_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 11 matching lines...) Expand all
22 22
23 namespace proxy { 23 namespace proxy {
24 24
25 class SerializedVarReturnValue; 25 class SerializedVarReturnValue;
26 26
27 class PPB_FileRef_Proxy : public InterfaceProxy { 27 class PPB_FileRef_Proxy : public InterfaceProxy {
28 public: 28 public:
29 explicit PPB_FileRef_Proxy(Dispatcher* dispatcher); 29 explicit PPB_FileRef_Proxy(Dispatcher* dispatcher);
30 virtual ~PPB_FileRef_Proxy(); 30 virtual ~PPB_FileRef_Proxy();
31 31
32 static const Info* GetPrivateInfo();
33
34 static PP_Resource CreateProxyResource(PP_Resource file_system, 32 static PP_Resource CreateProxyResource(PP_Resource file_system,
35 const char* path); 33 const char* path);
36 34
37 // InterfaceProxy implementation. 35 // InterfaceProxy implementation.
38 virtual bool OnMessageReceived(const IPC::Message& msg); 36 virtual bool OnMessageReceived(const IPC::Message& msg);
39 37
40 // Takes a resource in the host and converts it into a serialized file ref 38 // Takes a resource in the host and converts it into a serialized file ref
41 // "create info" for reconstitution in the plugin. This struct contains all 39 // "create info" for reconstitution in the plugin. This struct contains all
42 // the necessary information about the file ref. 40 // the necessary information about the file ref.
43 // 41 //
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 pp::CompletionCallbackFactory<PPB_FileRef_Proxy, 93 pp::CompletionCallbackFactory<PPB_FileRef_Proxy,
96 ProxyNonThreadSafeRefCount> callback_factory_; 94 ProxyNonThreadSafeRefCount> callback_factory_;
97 95
98 DISALLOW_COPY_AND_ASSIGN(PPB_FileRef_Proxy); 96 DISALLOW_COPY_AND_ASSIGN(PPB_FileRef_Proxy);
99 }; 97 };
100 98
101 } // namespace proxy 99 } // namespace proxy
102 } // namespace ppapi 100 } // namespace ppapi
103 101
104 #endif // PPAPI_PROXY_PPB_FILE_REF_PROXY_H_ 102 #endif // PPAPI_PROXY_PPB_FILE_REF_PROXY_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/interface_list.cc ('k') | ppapi/proxy/ppb_file_ref_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698