OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "content/shell/common/webkit_test_helpers.h" | 5 #include "content/shell/common/webkit_test_helpers.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/file_util.h" | 8 #include "base/files/file_util.h" |
9 #include "base/path_service.h" | 9 #include "base/path_service.h" |
10 #include "base/strings/string_split.h" | 10 #include "base/strings/string_split.h" |
11 #include "base/strings/utf_string_conversions.h" | 11 #include "base/strings/utf_string_conversions.h" |
12 #include "content/public/common/content_switches.h" | 12 #include "content/public/common/content_switches.h" |
13 #include "content/public/common/web_preferences.h" | 13 #include "content/public/common/web_preferences.h" |
14 #include "content/shell/common/shell_switches.h" | 14 #include "content/shell/common/shell_switches.h" |
15 #include "content/shell/common/test_runner/test_preferences.h" | 15 #include "content/shell/common/test_runner/test_preferences.h" |
16 | 16 |
17 namespace content { | 17 namespace content { |
18 | 18 |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 if (command_line.HasSwitch(switches::kRegisterFontFiles)) { | 113 if (command_line.HasSwitch(switches::kRegisterFontFiles)) { |
114 base::SplitString( | 114 base::SplitString( |
115 command_line.GetSwitchValueASCII(switches::kRegisterFontFiles), | 115 command_line.GetSwitchValueASCII(switches::kRegisterFontFiles), |
116 ';', | 116 ';', |
117 &files); | 117 &files); |
118 } | 118 } |
119 return files; | 119 return files; |
120 } | 120 } |
121 | 121 |
122 } // namespace content | 122 } // namespace content |
OLD | NEW |