Updating trunk VERSION from 2139.0 to 2140.0
[chromium-blink-merge.git] / ppapi / shared_impl / test_harness_utils.h
blob0098969cf8b7ddc97e04deaf68da02fdfc9b06e4
1 // Copyright 2014 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.
5 #ifndef PPAPI_TESTS_TEST_HARNESS_UTILS_H_
6 #define PPAPI_TESTS_TEST_HARNESS_UTILS_H_
8 #include <string>
9 #include "base/files/file_path.h"
10 #include "ppapi/shared_impl/ppapi_shared_export.h"
12 // This file specifies utility functions used in Pepper testing in
13 // browser_tests and content_browsertests.
15 namespace base {
16 class CommandLine;
19 namespace ppapi {
21 // Strips prefixes used to annotate tests from a test name.
22 std::string PPAPI_SHARED_EXPORT StripTestPrefixes(const std::string& test_name);
24 // Returns a platform-specific filename relative to the chrome executable.
25 base::FilePath::StringType PPAPI_SHARED_EXPORT GetTestLibraryName();
27 } // namespace ppapi
29 #endif // PPAPI_TESTS_TEST_HARNESS_UTILS_H_