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

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

Issue 6543028: Implement the filesystem proxy. This allows the FileRef tests to pass in the... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 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 | Annotate | Revision Log
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_PLUGIN_RESOURCE_H_ 5 #ifndef PPAPI_PROXY_PLUGIN_RESOURCE_H_
6 #define PPAPI_PROXY_PLUGIN_RESOURCE_H_ 6 #define PPAPI_PROXY_PLUGIN_RESOURCE_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "ppapi/c/pp_instance.h" 9 #include "ppapi/c/pp_instance.h"
10 #include "ppapi/proxy/host_resource.h" 10 #include "ppapi/proxy/host_resource.h"
11 #include "ppapi/proxy/plugin_dispatcher.h" 11 #include "ppapi/proxy/plugin_dispatcher.h"
12 #include "ppapi/proxy/plugin_resource_tracker.h" 12 #include "ppapi/proxy/plugin_resource_tracker.h"
13 13
14 // If you inherit from resource, make sure you add the class name here. 14 // If you inherit from resource, make sure you add the class name here.
15 #define FOR_ALL_PLUGIN_RESOURCES(F) \ 15 #define FOR_ALL_PLUGIN_RESOURCES(F) \
16 F(Audio) \ 16 F(Audio) \
17 F(AudioConfig) \ 17 F(AudioConfig) \
18 F(Buffer) \ 18 F(Buffer) \
19 F(Context3D) \ 19 F(Context3D) \
20 F(FileChooser) \ 20 F(FileChooser) \
21 F(FileRef) \ 21 F(FileRef) \
22 F(FileSystem) \
22 F(FlashMenu) \ 23 F(FlashMenu) \
23 F(Font) \ 24 F(Font) \
24 F(Graphics2D) \ 25 F(Graphics2D) \
25 F(ImageData) \ 26 F(ImageData) \
26 F(MockResource) \ 27 F(MockResource) \
27 F(PrivateFontFile) \ 28 F(PrivateFontFile) \
28 F(Surface3D) \ 29 F(Surface3D) \
29 F(URLLoader) \ 30 F(URLLoader) \
30 F(URLRequestInfo)\ 31 F(URLRequestInfo)\
31 F(URLResponseInfo) 32 F(URLResponseInfo)
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 template <> inline Type* PluginResource::Cast<Type>() { \ 83 template <> inline Type* PluginResource::Cast<Type>() { \
83 return As##Type(); \ 84 return As##Type(); \
84 } 85 }
85 FOR_ALL_PLUGIN_RESOURCES(DEFINE_RESOURCE_CAST) 86 FOR_ALL_PLUGIN_RESOURCES(DEFINE_RESOURCE_CAST)
86 #undef DEFINE_RESOURCE_CAST 87 #undef DEFINE_RESOURCE_CAST
87 88
88 } // namespace proxy 89 } // namespace proxy
89 } // namespace pp 90 } // namespace pp
90 91
91 #endif // PPAPI_PROXY_PLUGIN_RESOURCE_H_ 92 #endif // PPAPI_PROXY_PLUGIN_RESOURCE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698