| 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..b5e997995c6b5c2b1529a0e5bbb43d5fe516d953
|
| --- /dev/null
|
| +++ b/content/public/test/ppapi_test_utils.h
|
| @@ -0,0 +1,33 @@
|
| +// Copyright 2015 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 CONTENT_PUBLIC_TEST_PPAPI_TEST_UTILS_H_
|
| +#define CONTENT_PUBLIC_TEST_PPAPI_TEST_UTILS_H_
|
| +
|
| +#include <string>
|
| +
|
| +#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.
|
| +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 RegisterTestPlugin(base::CommandLine* command_line);
|
| +
|
| +// Registers the PPAPI test plugin with some some extra parameters.
|
| +void RegisterTestPluginWithExtraParameters(
|
| + base::CommandLine* command_line,
|
| + const base::FilePath::StringType& extra_registration_parameters);
|
| +
|
| +} // namespace ppapi
|
| +
|
| +#endif // CONTENT_PUBLIC_TEST_PPAPI_TEST_UTILS_H_
|
|
|