Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 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 "base/basictypes.h" | |
| 9 #include "ppapi/c/pp_instance.h" | |
| 10 #include "ppapi/c/pp_resource.h" | |
| 11 #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.
| |
| 12 #include "ppapi/proxy/interface_proxy.h" | |
| 13 #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.
| |
| 14 | |
| 15 namespace ppapi { | |
| 16 namespace proxy { | |
| 17 | |
| 18 class PPB_Flash_X509Certificate_Proxy | |
| 19 : public InterfaceProxy { | |
| 20 public: | |
| 21 PPB_Flash_X509Certificate_Proxy(Dispatcher* dispatcher); | |
|
yzshen1
2012/03/22 23:32:40
explicit, please.
raymes
2012/03/26 16:05:57
Done.
| |
| 22 virtual ~PPB_Flash_X509Certificate_Proxy(); | |
| 23 static PP_Resource CreateProxyResource(PP_Instance instance); | |
| 24 | |
| 25 // InterfaceProxy implementation. | |
| 26 virtual bool OnMessageReceived(const IPC::Message& msg); | |
|
yzshen1
2012/03/22 23:32:40
OVERRIDE?
raymes
2012/03/26 16:05:57
Done.
| |
| 27 | |
| 28 static const ApiID kApiID = API_ID_PPB_FLASH_X509_CERTIFICATE; | |
| 29 | |
| 30 private: | |
| 31 DISALLOW_COPY_AND_ASSIGN(PPB_Flash_X509Certificate_Proxy); | |
| 32 }; | |
| 33 | |
| 34 } // namespace proxy | |
| 35 } // namespace ppapi | |
| 36 | |
| 37 #endif // PPAPI_PROXY_PPB_FLASH_X509_CERTIFICATE_PROXY_H_ | |
| OLD | NEW |