• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef PPAPI_TESTS_TEST_OUTPUT_PROTECTION_PRIVATE_H_
6 #define PPAPI_TESTS_TEST_OUTPUT_PROTECTION_PRIVATE_H_
7 
8 #include <string>
9 
10 #include "ppapi/cpp/private/output_protection_private.h"
11 #include "ppapi/tests/test_case.h"
12 #include "ppapi/tests/test_utils.h"
13 
14 class TestOutputProtectionPrivate: public TestCase {
15  public:
16   explicit TestOutputProtectionPrivate(TestingInstance* instance);
17 
18  private:
19   // TestCase implementation.
20   virtual bool Init();
21   virtual void RunTests(const std::string& filter);
22 
23   std::string TestQueryStatus();
24   std::string TestEnableProtection();
25 
26   const PPB_OutputProtection_Private* output_protection_interface_;
27 };
28 
29 #endif  // PPAPI_TESTS_TEST_OUTPUT_PROTECTION_PRIVATE_H_
30