| OLD | NEW |
| (Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef PPAPI_PROXY_PPB_FLASH_X509_CERTIFICATE_PROXY_H_ |
| 6 #define PPAPI_PROXY_PPB_FLASH_X509_CERTIFICATE_PROXY_H_ |
| 7 |
| 8 #include <string> |
| 9 |
| 10 #include "base/basictypes.h" |
| 11 #include "ppapi/c/pp_instance.h" |
| 12 #include "ppapi/c/pp_resource.h" |
| 13 #include "ppapi/c/private/ppb_flash_x509_certificate.h" |
| 14 #include "ppapi/proxy/interface_proxy.h" |
| 15 #include "ppapi/proxy/ppapi_proxy_export.h" |
| 16 |
| 17 namespace ppapi { |
| 18 namespace proxy { |
| 19 |
| 20 class PPB_Flash_X509Certificate_Proxy |
| 21 : public InterfaceProxy { |
| 22 public: |
| 23 PPB_Flash_X509Certificate_Proxy(Dispatcher* dispatcher); |
| 24 virtual ~PPB_Flash_X509Certificate_Proxy(); |
| 25 static PP_Resource CreateProxyResource(PP_Instance instance); |
| 26 |
| 27 // InterfaceProxy implementation. |
| 28 virtual bool OnMessageReceived(const IPC::Message& msg); |
| 29 |
| 30 static const ApiID kApiID = API_ID_PPB_FLASH_X509_CERTIFICATE; |
| 31 |
| 32 private: |
| 33 |
| 34 DISALLOW_COPY_AND_ASSIGN(PPB_Flash_X509Certificate_Proxy); |
| 35 }; |
| 36 |
| 37 } // namespace proxy |
| 38 } // namespace ppapi |
| 39 |
| 40 #endif // PPAPI_PROXY_PPB_FLASH_X509_CERTIFICATE_PROXY_H_ |
| OLD | NEW |