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

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

Issue 13726024: Refactor FileSystem (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: NON_EXPORTED_BASE Created 7 years, 8 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 unified diff | Download patch
« no previous file with comments | « ppapi/proxy/ppb_file_system_proxy.cc ('k') | ppapi/proxy/resource_creation_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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_RESOURCE_CREATION_PROXY_H_ 5 #ifndef PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_
6 #define PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ 6 #define PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 22 matching lines...) Expand all
33 virtual ~ResourceCreationProxy(); 33 virtual ~ResourceCreationProxy();
34 34
35 // Factory function used for registration (normal code can just use the 35 // Factory function used for registration (normal code can just use the
36 // constructor). 36 // constructor).
37 static InterfaceProxy* Create(Dispatcher* dispatcher); 37 static InterfaceProxy* Create(Dispatcher* dispatcher);
38 38
39 // ResourceCreationAPI (called in plugin). 39 // ResourceCreationAPI (called in plugin).
40 virtual PP_Resource CreateDirectoryReader(PP_Instance instance, 40 virtual PP_Resource CreateDirectoryReader(PP_Instance instance,
41 PP_Resource directory_ref) OVERRIDE; 41 PP_Resource directory_ref) OVERRIDE;
42 virtual PP_Resource CreateFileIO(PP_Instance instance) OVERRIDE; 42 virtual PP_Resource CreateFileIO(PP_Instance instance) OVERRIDE;
43 virtual PP_Resource CreateFileRef(PP_Resource file_system, 43 virtual PP_Resource CreateFileRef(PP_Instance instance,
44 PP_Resource file_system,
44 const char* path) OVERRIDE; 45 const char* path) OVERRIDE;
45 virtual PP_Resource CreateFileSystem(PP_Instance instance, 46 virtual PP_Resource CreateFileSystem(PP_Instance instance,
46 PP_FileSystemType type) OVERRIDE; 47 PP_FileSystemType type) OVERRIDE;
47 virtual PP_Resource CreateIMEInputEvent(PP_Instance instance, 48 virtual PP_Resource CreateIMEInputEvent(PP_Instance instance,
48 PP_InputEvent_Type type, 49 PP_InputEvent_Type type,
49 PP_TimeTicks time_stamp, 50 PP_TimeTicks time_stamp,
50 struct PP_Var text, 51 struct PP_Var text,
51 uint32_t segment_number, 52 uint32_t segment_number,
52 const uint32_t* segment_offsets, 53 const uint32_t* segment_offsets,
53 int32_t target_segment, 54 int32_t target_segment,
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 169
169 private: 170 private:
170 Connection GetConnection(); 171 Connection GetConnection();
171 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy); 172 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy);
172 }; 173 };
173 174
174 } // namespace proxy 175 } // namespace proxy
175 } // namespace ppapi 176 } // namespace ppapi
176 177
177 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ 178 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/ppb_file_system_proxy.cc ('k') | ppapi/proxy/resource_creation_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698