| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2011 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 PAPPI_TESTS_TEST_QUERY_POLICY_H_ | |
| 6 #define PAPPI_TESTS_TEST_QUERY_POLICY_H_ | |
| 7 | |
| 8 #include <string> | |
| 9 | |
| 10 #include "ppapi/tests/test_case.h" | |
| 11 | |
| 12 struct PPB_QueryPolicy_Dev; | |
| 13 | |
| 14 class TestQueryPolicy : public TestCase { | |
| 15 public: | |
| 16 explicit TestQueryPolicy(TestingInstance* instance) : TestCase(instance) {} | |
| 17 | |
| 18 // TestCase implementation. | |
| 19 virtual bool Init(); | |
| 20 virtual void RunTest(); | |
| 21 | |
| 22 private: | |
| 23 std::string TestGetFullPolicy(); | |
| 24 std::string TestSubscribeToPolicyUpdates(); | |
| 25 | |
| 26 // Used by the tests that access the C API directly. | |
| 27 const PPB_QueryPolicy_Dev* query_policy_interface_; | |
| 28 }; | |
| 29 | |
| 30 #endif // PAPPI_TESTS_TEST_BUFFER_H_ | |
| OLD | NEW |