| 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 CONTENT_RENDERER_PEPPER_PPB_X509_CERTIFICATE_PRIVATE_IMPL_H_ | |
| 6 #define CONTENT_RENDERER_PEPPER_PPB_X509_CERTIFICATE_PRIVATE_IMPL_H_ | |
| 7 | |
| 8 #include "base/basictypes.h" | |
| 9 #include "base/compiler_specific.h" | |
| 10 #include "ppapi/shared_impl/private/ppb_x509_certificate_private_shared.h" | |
| 11 #include "ppapi/shared_impl/resource.h" | |
| 12 | |
| 13 namespace ppapi { | |
| 14 class PPB_X509Certificate_Fields; | |
| 15 } | |
| 16 | |
| 17 namespace content { | |
| 18 | |
| 19 class PPB_X509Certificate_Private_Impl : | |
| 20 public ppapi::PPB_X509Certificate_Private_Shared { | |
| 21 public: | |
| 22 PPB_X509Certificate_Private_Impl(PP_Instance instance); | |
| 23 static PP_Resource CreateResource(PP_Instance instance); | |
| 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); | |
| 31 }; | |
| 32 | |
| 33 } // namespace content | |
| 34 | |
| 35 #endif // CONTENT_RENDERER_PEPPER_PPB_X509_CERTIFICATE_PRIVATE_IMPL_H_ | |
| OLD | NEW |