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

Unified Diff: ppapi/proxy/ppb_flash_x509_certificate_proxy.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 | « ppapi/proxy/ppapi_param_traits.cc ('k') | ppapi/proxy/ppb_flash_x509_certificate_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/ppb_flash_x509_certificate_proxy.h
diff --git a/ppapi/proxy/ppb_flash_x509_certificate_proxy.h b/ppapi/proxy/ppb_flash_x509_certificate_proxy.h
new file mode 100644
index 0000000000000000000000000000000000000000..e2e38a3cd97c852c2fbea54a06544f58625638b8
--- /dev/null
+++ b/ppapi/proxy/ppb_flash_x509_certificate_proxy.h
@@ -0,0 +1,40 @@
+// Copyright (c) 2011 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 PPAPI_PROXY_PPB_FLASH_X509_CERTIFICATE_PROXY_H_
+#define PPAPI_PROXY_PPB_FLASH_X509_CERTIFICATE_PROXY_H_
+
+#include <string>
+
+#include "base/basictypes.h"
+#include "ppapi/c/pp_instance.h"
+#include "ppapi/c/pp_resource.h"
+#include "ppapi/c/private/ppb_flash_x509_certificate.h"
+#include "ppapi/proxy/interface_proxy.h"
+#include "ppapi/proxy/ppapi_proxy_export.h"
+
+namespace ppapi {
+namespace proxy {
+
+class PPB_Flash_X509Certificate_Proxy
+ : public InterfaceProxy {
+ public:
+ PPB_Flash_X509Certificate_Proxy(Dispatcher* dispatcher);
+ virtual ~PPB_Flash_X509Certificate_Proxy();
+ static PP_Resource CreateProxyResource(PP_Instance instance);
+
+ // InterfaceProxy implementation.
+ virtual bool OnMessageReceived(const IPC::Message& msg);
+
+ static const ApiID kApiID = API_ID_PPB_FLASH_X509_CERTIFICATE;
+
+ private:
+
+ DISALLOW_COPY_AND_ASSIGN(PPB_Flash_X509Certificate_Proxy);
+};
+
+} // namespace proxy
+} // namespace ppapi
+
+#endif // PPAPI_PROXY_PPB_FLASH_X509_CERTIFICATE_PROXY_H_
« no previous file with comments | « ppapi/proxy/ppapi_param_traits.cc ('k') | ppapi/proxy/ppb_flash_x509_certificate_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698