| 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_FLASH_X509_CERTIFICATE_IMPL_H_ |
| 6 #define WEBKIT_PLUGINS_PPAPI_PPB_FLASH_X509_CERTIFICATE_IMPL_H_ |
| 7 |
| 8 #include "base/compiler_specific.h" |
| 9 #include "ppapi/shared_impl/private/ppb_flash_x509_certificate_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 PluginDelegate; |
| 20 |
| 21 class PPB_Flash_X509Certificate_Impl : |
| 22 public ::ppapi::PPB_Flash_X509Certificate_Shared { |
| 23 public: |
| 24 static PP_Resource CreateResource(PP_Instance instance); |
| 25 PPB_Flash_X509Certificate_Impl(::ppapi::ResourceObjectType type, |
| 26 PP_Instance instance); |
| 27 virtual bool ParseDER(const std::vector<char>& der, |
| 28 ::ppapi::PPB_X509Certificate_Fields* result) OVERRIDE; |
| 29 |
| 30 private: |
| 31 virtual ~PPB_Flash_X509Certificate_Impl(); |
| 32 |
| 33 DISALLOW_COPY_AND_ASSIGN(PPB_Flash_X509Certificate_Impl); |
| 34 }; |
| 35 |
| 36 } // namespace ppapi |
| 37 } // namespace webkit |
| 38 |
| 39 #endif // WEBKIT_PLUGINS_PPAPI_PPB_FLASH_X509_CERTIFICATE_IMPL_H_ |
| OLD | NEW |