Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(775)

Side by Side Diff: chrome/test/ui/ui_layout_test.cc

Issue 3145001: FBTF: Clean up task.h in x11_util.h and header usage in some delegates. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: more Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/test/ui/sunspider_uitest.cc ('k') | chrome/test/ui/v8_benchmark_uitest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "chrome/test/ui/ui_layout_test.h" 5 #include "chrome/test/ui/ui_layout_test.h"
6 6
7 #include "base/file_util.h" 7 #include "base/file_util.h"
8 #include "base/path_service.h" 8 #include "base/path_service.h"
9 #include "base/string_number_conversions.h" 9 #include "base/string_number_conversions.h"
10 #include "base/test/test_file_util.h" 10 #include "base/test/test_file_util.h"
11 #include "base/utf_string_conversions.h"
11 #include "chrome/common/chrome_paths.h" 12 #include "chrome/common/chrome_paths.h"
12 #include "chrome/common/chrome_switches.h" 13 #include "chrome/common/chrome_switches.h"
13 #include "chrome/test/automation/tab_proxy.h" 14 #include "chrome/test/automation/tab_proxy.h"
14 #include "net/base/escape.h" 15 #include "net/base/escape.h"
15 #include "net/base/net_util.h" 16 #include "net/base/net_util.h"
16 17
17 #if defined(OS_WIN) 18 #if defined(OS_WIN)
18 static const char kPlatformName[] = "chromium-win"; 19 static const char kPlatformName[] = "chromium-win";
19 #elif defined(OS_MACOSX) 20 #elif defined(OS_MACOSX)
20 static const char kPlatformName[] = "chromium-mac"; 21 static const char kPlatformName[] = "chromium-mac";
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 std::string* expected_result_value) { 254 std::string* expected_result_value) {
254 FilePath expected_result_path(result_dir_path); 255 FilePath expected_result_path(result_dir_path);
255 expected_result_path = expected_result_path.AppendASCII(test_case_file_name); 256 expected_result_path = expected_result_path.AppendASCII(test_case_file_name);
256 expected_result_path = expected_result_path.InsertBeforeExtension( 257 expected_result_path = expected_result_path.InsertBeforeExtension(
257 FILE_PATH_LITERAL("-expected")); 258 FILE_PATH_LITERAL("-expected"));
258 expected_result_path = 259 expected_result_path =
259 expected_result_path.ReplaceExtension(FILE_PATH_LITERAL("txt")); 260 expected_result_path.ReplaceExtension(FILE_PATH_LITERAL("txt"));
260 return file_util::ReadFileToString(expected_result_path, 261 return file_util::ReadFileToString(expected_result_path,
261 expected_result_value); 262 expected_result_value);
262 } 263 }
OLDNEW
« no previous file with comments | « chrome/test/ui/sunspider_uitest.cc ('k') | chrome/test/ui/v8_benchmark_uitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698