Chromium Code Reviews| 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_ |