Chromium Code Reviews| Index: webkit/plugins/ppapi/ppb_flash_x509_certificate_impl.h |
| diff --git a/webkit/plugins/ppapi/ppb_flash_x509_certificate_impl.h b/webkit/plugins/ppapi/ppb_flash_x509_certificate_impl.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..3361ce63c36bb0c3c1eb999628f9d82dfd3cebb8 |
| --- /dev/null |
| +++ b/webkit/plugins/ppapi/ppb_flash_x509_certificate_impl.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 WEBKIT_PLUGINS_PPAPI_PPB_FLASH_X509_CERTIFICATE_IMPL_H_ |
| +#define WEBKIT_PLUGINS_PPAPI_PPB_FLASH_X509_CERTIFICATE_IMPL_H_ |
| + |
| +#include "base/compiler_specific.h" |
| +#include "ppapi/shared_impl/private/ppb_flash_x509_certificate_shared.h" |
| +#include "ppapi/shared_impl/resource.h" |
| + |
| +namespace ppapi { |
| +class PPB_X509Certificate_Fields; |
| +} |
| + |
| +namespace webkit { |
| +namespace ppapi { |
| + |
| +class PPB_Flash_X509Certificate_Impl : |
| + public ::ppapi::PPB_Flash_X509Certificate_Shared { |
| + public: |
| + static PP_Resource CreateResource(PP_Instance instance); |
|
yzshen1
2012/03/22 23:32:40
wrong indent. (And the line below.)
raymes
2012/03/26 16:05:57
Done.
|
| + PPB_Flash_X509Certificate_Impl(::ppapi::ResourceObjectType type, |
|
yzshen1
2012/03/22 23:32:40
nit: if OBJECT_IS_IMPL is the only value to use, y
raymes
2012/03/26 16:05:57
Done.
|
| + PP_Instance instance); |
| + virtual bool ParseDER(const std::vector<char>& der, |
| + ::ppapi::PPB_X509Certificate_Fields* result) OVERRIDE; |
| + |
| + private: |
| + virtual ~PPB_Flash_X509Certificate_Impl(); |
| + |
| + DISALLOW_COPY_AND_ASSIGN(PPB_Flash_X509Certificate_Impl); |
| +}; |
| + |
| +} // namespace ppapi |
| +} // namespace webkit |
| + |
| +#endif // WEBKIT_PLUGINS_PPAPI_PPB_FLASH_X509_CERTIFICATE_IMPL_H_ |