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

Unified Diff: ppapi/proxy/plugin_resource.h

Issue 5741001: Even more virtual method deinlining. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase (windows) Created 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/proxy/image_data.cc ('k') | ppapi/proxy/plugin_resource.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/plugin_resource.h
diff --git a/ppapi/proxy/plugin_resource.h b/ppapi/proxy/plugin_resource.h
index 2c195bc09a6726983479aa364615d2599aced92e..780a2bd26d76275b1df9e02fddf5e1bdab034774 100644
--- a/ppapi/proxy/plugin_resource.h
+++ b/ppapi/proxy/plugin_resource.h
@@ -10,7 +10,7 @@
#include "ppapi/proxy/plugin_resource_tracker.h"
// If you inherit from resource, make sure you add the class name here.
-#define FOR_ALL_RESOURCES(F) \
+#define FOR_ALL_PLUGIN_RESOURCES(F) \
F(Audio) \
F(AudioConfig) \
F(Buffer) \
@@ -27,7 +27,7 @@ namespace proxy {
// Forward declaration of Resource classes.
#define DECLARE_RESOURCE_CLASS(RESOURCE) class RESOURCE;
-FOR_ALL_RESOURCES(DECLARE_RESOURCE_CLASS)
+FOR_ALL_PLUGIN_RESOURCES(DECLARE_RESOURCE_CLASS)
#undef DECLARE_RESOURCE_CLASS
class PluginResource {
@@ -51,7 +51,7 @@ class PluginResource {
// function.
#define DEFINE_TYPE_GETTER(RESOURCE) \
virtual RESOURCE* As##RESOURCE();
- FOR_ALL_RESOURCES(DEFINE_TYPE_GETTER)
+ FOR_ALL_PLUGIN_RESOURCES(DEFINE_TYPE_GETTER)
#undef DEFINE_TYPE_GETTER
DISALLOW_COPY_AND_ASSIGN(PluginResource);
@@ -62,7 +62,7 @@ class PluginResource {
template <> inline Type* PluginResource::Cast<Type>() { \
return As##Type(); \
}
-FOR_ALL_RESOURCES(DEFINE_RESOURCE_CAST)
+FOR_ALL_PLUGIN_RESOURCES(DEFINE_RESOURCE_CAST)
#undef DEFINE_RESOURCE_CAST
} // namespace proxy
« no previous file with comments | « ppapi/proxy/image_data.cc ('k') | ppapi/proxy/plugin_resource.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698