Chromium Code Reviews| Index: ppapi/proxy/ppb_flash_x509_certificate_proxy.h |
| diff --git a/ppapi/proxy/ppb_flash_x509_certificate_proxy.h b/ppapi/proxy/ppb_flash_x509_certificate_proxy.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..51851efbc6a7eb367e5dfe5162bd6f2dcb7e685f |
| --- /dev/null |
| +++ b/ppapi/proxy/ppb_flash_x509_certificate_proxy.h |
| @@ -0,0 +1,37 @@ |
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef PPAPI_PROXY_PPB_FLASH_X509_CERTIFICATE_PROXY_H_ |
| +#define PPAPI_PROXY_PPB_FLASH_X509_CERTIFICATE_PROXY_H_ |
| + |
| +#include "base/basictypes.h" |
| +#include "ppapi/c/pp_instance.h" |
| +#include "ppapi/c/pp_resource.h" |
| +#include "ppapi/c/private/ppb_flash_x509_certificate.h" |
|
yzshen1
2012/03/22 23:32:40
You don't need this in the .h file, right?
raymes
2012/03/26 16:05:57
Done.
|
| +#include "ppapi/proxy/interface_proxy.h" |
| +#include "ppapi/proxy/ppapi_proxy_export.h" |
|
yzshen1
2012/03/22 23:32:40
It seems you don't need this, too.
raymes
2012/03/26 16:05:57
Done.
|
| + |
| +namespace ppapi { |
| +namespace proxy { |
| + |
| +class PPB_Flash_X509Certificate_Proxy |
| + : public InterfaceProxy { |
| + public: |
| + PPB_Flash_X509Certificate_Proxy(Dispatcher* dispatcher); |
|
yzshen1
2012/03/22 23:32:40
explicit, please.
raymes
2012/03/26 16:05:57
Done.
|
| + virtual ~PPB_Flash_X509Certificate_Proxy(); |
| + static PP_Resource CreateProxyResource(PP_Instance instance); |
| + |
| + // InterfaceProxy implementation. |
| + virtual bool OnMessageReceived(const IPC::Message& msg); |
|
yzshen1
2012/03/22 23:32:40
OVERRIDE?
raymes
2012/03/26 16:05:57
Done.
|
| + |
| + static const ApiID kApiID = API_ID_PPB_FLASH_X509_CERTIFICATE; |
| + |
| + private: |
| + DISALLOW_COPY_AND_ASSIGN(PPB_Flash_X509Certificate_Proxy); |
| +}; |
| + |
| +} // namespace proxy |
| +} // namespace ppapi |
| + |
| +#endif // PPAPI_PROXY_PPB_FLASH_X509_CERTIFICATE_PROXY_H_ |