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

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

Issue 7740038: Use macros to define pepper interfaces (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: New patch 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/proxy/ppb_core_proxy.cc ('k') | ppapi/proxy/ppb_crypto_proxy.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_PPB_CRYPTO_PROXY_H_ 5 #ifndef PPAPI_PROXY_PPB_CRYPTO_PROXY_H_
6 #define PPAPI_PROXY_PPB_CRYPTO_PROXY_H_ 6 #define PPAPI_PROXY_PPB_CRYPTO_PROXY_H_
7 7
8 #include "ppapi/proxy/interface_proxy.h" 8 #include "ppapi/proxy/interface_proxy.h"
9 9
10 namespace ppapi { 10 namespace ppapi {
11 namespace proxy { 11 namespace proxy {
12 12
13 class PPB_Crypto_Proxy : public InterfaceProxy { 13 class PPB_Crypto_Proxy : public InterfaceProxy {
14 public: 14 public:
15 // This class should not normally be instantiated since there's only one 15 // This class should not normally be instantiated since there's only one
16 // function that's implemented entirely within the plugin. However, we need 16 // function that's implemented entirely within the plugin. However, we need
17 // to support this so the machinery for automatically handling interfaces 17 // to support this so the machinery for automatically handling interfaces
18 // works. As a result, this constructor will assert if it's actually used. 18 // works. As a result, this constructor will assert if it's actually used.
19 PPB_Crypto_Proxy(Dispatcher* dispatcher, const void* target_interface); 19 PPB_Crypto_Proxy(Dispatcher* dispatcher);
20 virtual ~PPB_Crypto_Proxy(); 20 virtual ~PPB_Crypto_Proxy();
21 21
22 static const Info* GetInfo(); 22 static const Info* GetInfo();
23 23
24 private: 24 private:
25 virtual bool OnMessageReceived(const IPC::Message& msg); 25 virtual bool OnMessageReceived(const IPC::Message& msg);
26 26
27 DISALLOW_COPY_AND_ASSIGN(PPB_Crypto_Proxy); 27 DISALLOW_COPY_AND_ASSIGN(PPB_Crypto_Proxy);
28 }; 28 };
29 29
30 } // namespace proxy 30 } // namespace proxy
31 } // namespace ppapi 31 } // namespace ppapi
32 32
33 #endif // PPAPI_PROXY_PPB_CRYPTO_PROXY_H_ 33 #endif // PPAPI_PROXY_PPB_CRYPTO_PROXY_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/ppb_core_proxy.cc ('k') | ppapi/proxy/ppb_crypto_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698