ppb_x509_certificate_private_api.h 810 B

123456789101112131415161718192021222324252627
  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. #ifndef PPAPI_THUNK_PPB_X509_CERTIFICATE_PRIVATE_API_H_
  5. #define PPAPI_THUNK_PPB_X509_CERTIFICATE_PRIVATE_API_H_
  6. #include <stdint.h>
  7. #include "ppapi/c/private/ppb_x509_certificate_private.h"
  8. #include "ppapi/thunk/ppapi_thunk_export.h"
  9. namespace ppapi {
  10. namespace thunk {
  11. class PPAPI_THUNK_EXPORT PPB_X509Certificate_Private_API {
  12. public:
  13. virtual ~PPB_X509Certificate_Private_API() {}
  14. virtual PP_Bool Initialize(const char* bytes, uint32_t length) = 0;
  15. virtual PP_Var GetField(PP_X509Certificate_Private_Field field) = 0;
  16. };
  17. } // namespace thunk
  18. } // namespace ppapi
  19. #endif // PPAPI_THUNK_PPB_X509_CERTIFICATE_PRIVATE_API_H_