summaryrefslogtreecommitdiffstats
path: root/webkit/glue/plugins/pepper_resource.h
diff options
context:
space:
mode:
authordumi@chromium.org <dumi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-20 00:45:48 +0000
committerdumi@chromium.org <dumi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-20 00:45:48 +0000
commitacaac376d3d7eb6e5f667c97f96f4b90602d4748 (patch)
treeca61b4adb481419d81b641fbbbabb859ca6e98f8 /webkit/glue/plugins/pepper_resource.h
parent0f6646d8f0940a8b1c4ebfda247a4f062d3feb9e (diff)
downloadchromium_src-acaac376d3d7eb6e5f667c97f96f4b90602d4748.zip
chromium_src-acaac376d3d7eb6e5f667c97f96f4b90602d4748.tar.gz
chromium_src-acaac376d3d7eb6e5f667c97f96f4b90602d4748.tar.bz2
Revert 63153 - Update Pepper's FileSystem and FileRef implementations.
BUG=none TEST=test_file_ref, test_file_system, test_url_loader Review URL: http://codereview.chromium.org/3602008 TBR=dumi@chromium.org Review URL: http://codereview.chromium.org/3905002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63154 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/plugins/pepper_resource.h')
-rw-r--r--webkit/glue/plugins/pepper_resource.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/webkit/glue/plugins/pepper_resource.h b/webkit/glue/plugins/pepper_resource.h
index a0685a2..e920ab1 100644
--- a/webkit/glue/plugins/pepper_resource.h
+++ b/webkit/glue/plugins/pepper_resource.h
@@ -14,10 +14,13 @@ namespace pepper {
// If you inherit from resource, make sure you add the class name here.
#define FOR_ALL_RESOURCES(F) \
+ F(Audio) \
+ F(Buffer) \
+ F(AudioConfig) \
+ F(DirectoryReader) \
F(FileChooser) \
F(FileIO) \
F(FileRef) \
- F(FileSystem) \
F(Font) \
F(Graphics2D) \
F(Graphics3D) \
@@ -89,6 +92,7 @@ class Resource : public base::RefCountedThreadSafe<Resource> {
FOR_ALL_RESOURCES(DEFINE_TYPE_GETTER)
#undef DEFINE_TYPE_GETTER
+
private:
// If referenced by a plugin, holds the id of this resource object. Do not
// access this member directly, because it is possible that the plugin holds
@@ -114,7 +118,6 @@ class Resource : public base::RefCountedThreadSafe<Resource> {
template <> inline Type* Resource::Cast<Type>() { \
return As##Type(); \
}
-
FOR_ALL_RESOURCES(DEFINE_RESOURCE_CAST)
#undef DEFINE_RESOURCE_CAST