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

Unified Diff: ppapi/proxy/ppb_char_set_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/ppb_char_set_proxy.h
diff --git a/ppapi/proxy/ppb_char_set_proxy.h b/ppapi/proxy/ppb_char_set_proxy.h
index af5cdc06f2363fe6c5ff668c733307a1f8c4694e..39ddc7bc68ec5e5e54a1f48cd3d4b7027fe40721 100644
--- a/ppapi/proxy/ppb_char_set_proxy.h
+++ b/ppapi/proxy/ppb_char_set_proxy.h
@@ -19,15 +19,12 @@ namespace proxy {
class SerializedVarReturnValue;
-class PPB_CharSet_Proxy : public ppapi::FunctionGroupBase,
- public ppapi::thunk::PPB_CharSet_FunctionAPI,
- public InterfaceProxy {
+class PPB_CharSet_Proxy : public InterfaceProxy,
+ public ppapi::thunk::PPB_CharSet_FunctionAPI {
public:
- PPB_CharSet_Proxy(Dispatcher* dispatcher, const void* target_interface);
+ PPB_CharSet_Proxy(Dispatcher* dispatcher);
virtual ~PPB_CharSet_Proxy();
- static const Info* GetInfo();
-
// FunctionGroupBase overrides.
virtual ppapi::thunk::PPB_CharSet_FunctionAPI* AsPPB_CharSet_FunctionAPI()
OVERRIDE;
@@ -48,6 +45,8 @@ class PPB_CharSet_Proxy : public ppapi::FunctionGroupBase,
// InterfaceProxy implementation.
virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;
+ static const InterfaceID kInterfaceID = INTERFACE_ID_PPB_CHAR_SET;
+
private:
void OnMsgGetDefaultCharSet(PP_Instance instance,
SerializedVarReturnValue result);

Powered by Google App Engine
This is Rietveld 408576698