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 WEBKIT_PLUGINS_PPAPI_PPB_X509_CERTIFICATE_PRIVATE_IMPL_H_ | |
| 6 #define WEBKIT_PLUGINS_PPAPI_PPB_X509_CERTIFICATE_PRIVATE_IMPL_H_ | |
| 7 | |
| 8 #include "base/compiler_specific.h" | |
| 9 #include "ppapi/shared_impl/private/ppb_x509_certificate_private_shared.h" | |
| 10 #include "ppapi/shared_impl/resource.h" | |
| 11 | |
| 12 namespace ppapi { | |
| 13 class PPB_X509Certificate_Fields; | |
| 14 } | |
| 15 | |
| 16 namespace webkit { | |
| 17 namespace ppapi { | |
| 18 | |
| 19 class PPB_X509Certificate_Private_Impl : | |
| 20 public ::ppapi::PPB_X509Certificate_Private_Shared { | |
| 21 public: | |
| 22 static PP_Resource CreateResource(PP_Instance instance); | |
| 23 PPB_X509Certificate_Private_Impl(PP_Instance instance); | |
|
viettrungluu
2012/03/27 17:10:57
Nit: I think constructors are supposed to go first
raymes
2012/03/27 17:40:23
Done.
| |
| 24 virtual bool ParseDER(const std::vector<char>& der, | |
| 25 ::ppapi::PPB_X509Certificate_Fields* result) OVERRIDE; | |
| 26 | |
| 27 private: | |
| 28 virtual ~PPB_X509Certificate_Private_Impl(); | |
| 29 | |
| 30 DISALLOW_COPY_AND_ASSIGN(PPB_X509Certificate_Private_Impl); | |
|
viettrungluu
2012/03/27 17:10:57
DISALLOW_IMPLICIT_CONSTRUCTORS?
Also, you should
raymes
2012/03/27 17:40:23
Done.
| |
| 31 }; | |
| 32 | |
| 33 } // namespace ppapi | |
| 34 } // namespace webkit | |
| 35 | |
| 36 #endif // WEBKIT_PLUGINS_PPAPI_PPB_X509_CERTIFICATE_PRIVATE_IMPL_H_ | |
| OLD | NEW |