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

Unified Diff: ppapi/tests/test_flash_x509_certificate.h

Issue 9693024: Add the PPAPI X509 Certificate interface and implementation. (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
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..cf96de2e3e96ce870b5a2a1efbc17f97c639aec1
--- /dev/null
+++ b/ppapi/tests/test_flash_x509_certificate.h
@@ -0,0 +1,29 @@
+// 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 PAPPI_TESTS_TEST_FLASH_X509_CERTIFICATE_H_
yzshen1 2012/03/22 23:32:40 PPAPI, please.
raymes 2012/03/26 16:05:57 Done.
+#define PAPPI_TESTS_TEST_FLASH_X509_CERTIFICATE_H_
+
+#include <string>
+
+#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_

Powered by Google App Engine
This is Rietveld 408576698