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

Unified Diff: ppapi/tests/test_output_protection_private.h

Issue 24039002: Pepper API implementation for output protection. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: fix test on chromeos Created 7 years, 3 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_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_

Powered by Google App Engine
This is Rietveld 408576698