| OLD | NEW | 
|---|
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_X509_CERTIFICATE_PRIVATE_PROXY_H_ | 5 #ifndef PPAPI_PROXY_PPB_X509_CERTIFICATE_PRIVATE_PROXY_H_ | 
| 6 #define PPAPI_PROXY_PPB_X509_CERTIFICATE_PRIVATE_PROXY_H_ | 6 #define PPAPI_PROXY_PPB_X509_CERTIFICATE_PRIVATE_PROXY_H_ | 
| 7 | 7 | 
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" | 
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" | 
| 10 #include "ppapi/c/pp_instance.h" | 10 #include "ppapi/c/pp_instance.h" | 
| 11 #include "ppapi/c/pp_resource.h" | 11 #include "ppapi/c/pp_resource.h" | 
| 12 #include "ppapi/proxy/interface_proxy.h" | 12 #include "ppapi/proxy/interface_proxy.h" | 
| 13 | 13 | 
| 14 namespace ppapi { | 14 namespace ppapi { | 
| 15 namespace proxy { | 15 namespace proxy { | 
| 16 | 16 | 
| 17 class PPB_X509Certificate_Private_Proxy | 17 class PPB_X509Certificate_Private_Proxy | 
| 18     : public InterfaceProxy { | 18     : public InterfaceProxy { | 
| 19  public: | 19  public: | 
| 20   explicit PPB_X509Certificate_Private_Proxy(Dispatcher* dispatcher); | 20   explicit PPB_X509Certificate_Private_Proxy(Dispatcher* dispatcher); | 
| 21   virtual ~PPB_X509Certificate_Private_Proxy(); | 21   virtual ~PPB_X509Certificate_Private_Proxy(); | 
| 22   static PP_Resource CreateProxyResource(PP_Instance instance); | 22   static PP_Resource CreateProxyResource(PP_Instance instance); | 
| 23 | 23 | 
| 24   // InterfaceProxy implementation. | 24   // InterfaceProxy implementation. | 
| 25   virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; | 25   virtual bool OnMessageReceived(const IPC::Message& msg) override; | 
| 26 | 26 | 
| 27   static const ApiID kApiID = API_ID_PPB_X509_CERTIFICATE_PRIVATE; | 27   static const ApiID kApiID = API_ID_PPB_X509_CERTIFICATE_PRIVATE; | 
| 28 | 28 | 
| 29  private: | 29  private: | 
| 30   DISALLOW_COPY_AND_ASSIGN(PPB_X509Certificate_Private_Proxy); | 30   DISALLOW_COPY_AND_ASSIGN(PPB_X509Certificate_Private_Proxy); | 
| 31 }; | 31 }; | 
| 32 | 32 | 
| 33 }  // namespace proxy | 33 }  // namespace proxy | 
| 34 }  // namespace ppapi | 34 }  // namespace ppapi | 
| 35 | 35 | 
| 36 #endif  // PPAPI_PROXY_PPB_X509_CERTIFICATE_PRIVATE_PROXY_H_ | 36 #endif  // PPAPI_PROXY_PPB_X509_CERTIFICATE_PRIVATE_PROXY_H_ | 
| OLD | NEW | 
|---|