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

Unified Diff: ppapi/proxy/ppp_class_proxy.h

Issue 7740038: Use macros to define pepper interfaces (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Self review Created 9 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: ppapi/proxy/ppp_class_proxy.h
diff --git a/ppapi/proxy/ppp_class_proxy.h b/ppapi/proxy/ppp_class_proxy.h
index ce93770f339781af879cac9f56e5b62cb27e4274..299c3ec6f94cc17d23ae91ce71b4d702829903aa 100644
--- a/ppapi/proxy/ppp_class_proxy.h
+++ b/ppapi/proxy/ppp_class_proxy.h
@@ -31,6 +31,10 @@ class PPP_Class_Proxy : public InterfaceProxy {
PPP_Class_Proxy(Dispatcher* dispatcher);
virtual ~PPP_Class_Proxy();
+ // Factory function used for registration (normal code can just use the
+ // constructor).
+ static InterfaceProxy* Create(Dispatcher* dispatcher);
+
// Creates a proxied object in the browser process. This takes the browser's
// PPB_Var_Deprecated interface to use to create the object. The class and
static PP_Var CreateProxiedObject(const PPB_Var_Deprecated* var,

Powered by Google App Engine
This is Rietveld 408576698