Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1126)

Unified Diff: webkit/plugins/ppapi/ppb_flash_x509_certificate_impl.h

Issue 9405038: Add PPAPI interface for secure sockets in flash (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/plugins/ppapi/plugin_module.cc ('k') | webkit/plugins/ppapi/ppb_flash_x509_certificate_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..5a3cc60f3554b81d1967660202490fa516bc41d5
--- /dev/null
+++ b/webkit/plugins/ppapi/ppb_flash_x509_certificate_impl.h
@@ -0,0 +1,39 @@
+// 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 PluginDelegate;
+
+class PPB_Flash_X509Certificate_Impl :
+ public ::ppapi::PPB_Flash_X509Certificate_Shared {
+ public:
+ static PP_Resource CreateResource(PP_Instance instance);
+ PPB_Flash_X509Certificate_Impl(::ppapi::ResourceObjectType type,
+ 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_
« no previous file with comments | « webkit/plugins/ppapi/plugin_module.cc ('k') | webkit/plugins/ppapi/ppb_flash_x509_certificate_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698