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

Side by Side Diff: chrome/test/perf/tab_switching_test.cc

Issue 12314090: Add utf_string_conversions to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « chrome/test/perf/startup_test.cc ('k') | chrome/test/perf/url_fetch_test.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) 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 "base/command_line.h" 5 #include "base/command_line.h"
6 #include "base/environment.h" 6 #include "base/environment.h"
7 #include "base/file_util.h" 7 #include "base/file_util.h"
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/path_service.h" 10 #include "base/path_service.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 show_window_ = true; 43 show_window_ = true;
44 } 44 }
45 45
46 virtual void SetUp() { 46 virtual void SetUp() {
47 // Set the log_file_name_ path according to the selected browser_directory_. 47 // Set the log_file_name_ path according to the selected browser_directory_.
48 log_file_name_ = browser_directory_.AppendASCII("chrome_debug.log"); 48 log_file_name_ = browser_directory_.AppendASCII("chrome_debug.log");
49 49
50 // Set the log file path for the browser test. 50 // Set the log file path for the browser test.
51 scoped_ptr<base::Environment> env(base::Environment::Create()); 51 scoped_ptr<base::Environment> env(base::Environment::Create());
52 #if defined(OS_WIN) 52 #if defined(OS_WIN)
53 env->SetVar(env_vars::kLogFileName, WideToUTF8(log_file_name_.value())); 53 env->SetVar(env_vars::kLogFileName,
54 base::WideToUTF8(log_file_name_.value()));
54 #else 55 #else
55 env->SetVar(env_vars::kLogFileName, log_file_name_.value()); 56 env->SetVar(env_vars::kLogFileName, log_file_name_.value());
56 #endif 57 #endif
57 58
58 // Add the necessary arguments to Chrome's launch command for these tests. 59 // Add the necessary arguments to Chrome's launch command for these tests.
59 AddLaunchArguments(); 60 AddLaunchArguments();
60 61
61 // Run the rest of the UITest initialization. 62 // Run the rest of the UITest initialization.
62 UITest::SetUp(); 63 UITest::SetUp();
63 } 64 }
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 RunTabSwitchingUITest("t", true); 194 RunTabSwitchingUITest("t", true);
194 } 195 }
195 196
196 // Started failing with a webkit roll in r49936. See http://crbug.com/46751 197 // Started failing with a webkit roll in r49936. See http://crbug.com/46751
197 TEST_F(TabSwitchingUITest, DISABLED_TabSwitchRef) { 198 TEST_F(TabSwitchingUITest, DISABLED_TabSwitchRef) {
198 UseReferenceBuild(); 199 UseReferenceBuild();
199 RunTabSwitchingUITest("t_ref", true); 200 RunTabSwitchingUITest("t_ref", true);
200 } 201 }
201 202
202 } // namespace 203 } // namespace
OLDNEW
« no previous file with comments | « chrome/test/perf/startup_test.cc ('k') | chrome/test/perf/url_fetch_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698