Chromium Code Reviews| Index: ppapi/tests/test_output_protection_private.h |
| diff --git a/ppapi/tests/test_output_protection_private.h b/ppapi/tests/test_output_protection_private.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..f9bfc25df3b18cc68fd29cef03f67c67958d8253 |
| --- /dev/null |
| +++ b/ppapi/tests/test_output_protection_private.h |
| @@ -0,0 +1,29 @@ |
| +// Copyright 2013 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_TESTS_TEST_OUTPUT_PROTECTION_PRIVATE_H_ |
| +#define PPAPI_TESTS_TEST_OUTPUT_PROTECTION_PRIVATE_H_ |
| + |
| +#include <string> |
| + |
| +#include "ppapi/cpp/private/output_protection_private.h" |
| +#include "ppapi/tests/test_case.h" |
| +#include "ppapi/tests/test_utils.h" |
| + |
| +class TestOutputProtectionPrivate: public TestCase { |
| + public: |
| + explicit TestOutputProtectionPrivate(TestingInstance* instance); |
| + |
| + // TestCase implementation. |
|
dmichael (off chromium)
2013/09/17 17:25:33
nit/suggestion: Everything here down could be priv
kcwu
2013/09/17 23:15:32
Done.
|
| + virtual bool Init(); |
| + virtual void RunTests(const std::string& filter); |
| + |
| + private: |
| + std::string TestQueryStatus(); |
| + std::string TestEnableProtection(); |
| + |
| + const PPB_OutputProtection_Private* output_protection_interface_; |
| +}; |
| + |
| +#endif // PPAPI_TESTS_TEST_OUTPUT_PROTECTION_PRIVATE_H_ |