Index: content/public/test/ppapi_test_utils.h |
diff --git a/content/public/test/ppapi_test_utils.h b/content/public/test/ppapi_test_utils.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..64f79d684f0731eebefeaa3be26be150b5b3aeeb |
--- /dev/null |
+++ b/content/public/test/ppapi_test_utils.h |
@@ -0,0 +1,33 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
raymes
2015/04/15 06:44:18
nit 2015
tommycli
2015/04/15 18:23:18
Done.
|
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CONTENT_PUBLIC_TEST_PPAPI_TEST_UTILS_H_ |
+#define CONTENT_PUBLIC_TEST_PPAPI_TEST_UTILS_H_ |
+ |
+#include <string> |
raymes
2015/04/15 06:44:18
nit add space below this
tommycli
2015/04/15 18:23:19
Done.
|
+#include "base/files/file_path.h" |
+ |
+namespace base { |
+class CommandLine; |
+} |
+ |
+// This file specifies utility functions used in Pepper testing in |
+// browser_tests and content_browsertests. |
+ |
raymes
2015/04/15 06:44:18
nit: remove blank line
tommycli
2015/04/15 18:23:19
Done.
|
+namespace ppapi { |
+ |
+// Strips prefixes used to annotate tests from a test name. |
+std::string StripTestPrefixes(const std::string& test_name); |
+ |
+// Registers the PPAPI test plugin to application/x-ppapi-tests. |
+void RegisterTestLibrary(base::CommandLine* command_line); |
raymes
2015/04/15 06:44:18
nit: You might call this RegisterTestPlugin
tommycli
2015/04/15 18:23:19
Done.
|
+ |
+// Registers the PPAPI test plugin with some some extra parameters. |
+void RegisterTestLibraryWithExtraParameters( |
raymes
2015/04/15 06:44:18
RegisterTestPluginWithExtraParameters
tommycli
2015/04/15 18:23:18
Done.
|
+ base::CommandLine* command_line, |
+ const base::FilePath::StringType& extra_registration_parameters); |
+ |
+} // namespace ppapi |
+ |
+#endif // CONTENT_PUBLIC_TEST_PPAPI_TEST_UTILS_H_ |