Remove PlatformFile from profile_browsertest
[chromium-blink-merge.git] / content / shell / common / webkit_test_helpers.h
blob60cdce67a3fe2a04a8fbcf9d4d5cd607e460b7e1
1 // Copyright (c) 2012 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 CONTENT_SHELL_COMMON_WEBKIT_TEST_HELPERS_H_
6 #define CONTENT_SHELL_COMMON_WEBKIT_TEST_HELPERS_H_
8 struct WebPreferences;
10 namespace WebTestRunner {
11 struct WebPreferences;
14 namespace base {
15 class FilePath;
18 struct WebPreferences;
20 namespace content {
22 // The TestRunner library keeps its settings in a WebTestRunner::WebPreferenes
23 // object. The content_shell, however, uses WebPreferences. This
24 // method exports the settings from the WebTestRunner library which are relevant
25 // for layout tests.
26 void ExportLayoutTestSpecificPreferences(
27 const WebTestRunner::WebPreferences& from, WebPreferences* to);
29 // Applies settings that differ between layout tests and regular mode.
30 void ApplyLayoutTestDefaultPreferences(WebPreferences* prefs);
32 // Returns the root of the Blink checkout.
33 base::FilePath GetWebKitRootDirFilePath();
35 } // namespace content
37 #endif // CONTENT_SHELL_COMMON_WEBKIT_TEST_HELPERS_H_