Chromium Code Reviews| Index: webkit/plugins/ppapi/ppb_x509_certificate_private_impl.h |
| diff --git a/webkit/plugins/ppapi/ppb_x509_certificate_private_impl.h b/webkit/plugins/ppapi/ppb_x509_certificate_private_impl.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..a03599e1b29339d4f1997e2b20b19f9d1b4f3218 |
| --- /dev/null |
| +++ b/webkit/plugins/ppapi/ppb_x509_certificate_private_impl.h |
| @@ -0,0 +1,36 @@ |
| +// 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 WEBKIT_PLUGINS_PPAPI_PPB_X509_CERTIFICATE_PRIVATE_IMPL_H_ |
| +#define WEBKIT_PLUGINS_PPAPI_PPB_X509_CERTIFICATE_PRIVATE_IMPL_H_ |
| + |
| +#include "base/compiler_specific.h" |
| +#include "ppapi/shared_impl/private/ppb_x509_certificate_private_shared.h" |
| +#include "ppapi/shared_impl/resource.h" |
| + |
| +namespace ppapi { |
| +class PPB_X509Certificate_Fields; |
| +} |
| + |
| +namespace webkit { |
| +namespace ppapi { |
| + |
| +class PPB_X509Certificate_Private_Impl : |
| + public ::ppapi::PPB_X509Certificate_Private_Shared { |
| + public: |
| + static PP_Resource CreateResource(PP_Instance instance); |
| + 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.
|
| + virtual bool ParseDER(const std::vector<char>& der, |
| + ::ppapi::PPB_X509Certificate_Fields* result) OVERRIDE; |
| + |
| + private: |
| + virtual ~PPB_X509Certificate_Private_Impl(); |
| + |
| + 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.
|
| +}; |
| + |
| +} // namespace ppapi |
| +} // namespace webkit |
| + |
| +#endif // WEBKIT_PLUGINS_PPAPI_PPB_X509_CERTIFICATE_PRIVATE_IMPL_H_ |