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

Unified Diff: ppapi/tests/test_flash_x509_certificate.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/tests/all_c_includes.h ('k') | ppapi/tests/test_flash_x509_certificate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/tests/test_flash_x509_certificate.h
diff --git a/ppapi/tests/test_flash_x509_certificate.h b/ppapi/tests/test_flash_x509_certificate.h
new file mode 100644
index 0000000000000000000000000000000000000000..5a145735dc469f74efd290ffefae56a1ce7fce38
--- /dev/null
+++ b/ppapi/tests/test_flash_x509_certificate.h
@@ -0,0 +1,30 @@
+// 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 PAPPI_TESTS_TEST_FLASH_X509_CERTIFICATE_H_
+#define PAPPI_TESTS_TEST_FLASH_X509_CERTIFICATE_H_
+
+#include <string>
+
+#include "ppapi/c/pp_stdint.h"
+#include "ppapi/tests/test_case.h"
+
+namespace pp {
+class X509Certificate;
+}
+
+class TestFlashX509Certificate: public TestCase {
+ public:
+ explicit TestFlashX509Certificate(TestingInstance* instance);
+
+ // TestCase implementation.
+ virtual bool Init();
+ virtual void RunTests(const std::string& filter);
+
+ private:
+ std::string TestValidCertificate();
+ std::string TestInvalidCertificate();
+};
+
+#endif // PAPPI_TESTS_TEST_FLASH_X509_CERTIFICATE_H_
« no previous file with comments | « ppapi/tests/all_c_includes.h ('k') | ppapi/tests/test_flash_x509_certificate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698