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

Side by Side Diff: chrome/test/reliability/page_load_test.cc

Issue 329017: Remove deprecated CommandLine(std::wstring) ctor. (Closed)
Patch Set: Created 11 years, 2 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/automation/automation_proxy_uitest.cc ('k') | chrome/test/render_view_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) 2006-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2009 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 // This file provides reliablity test which runs under UI test framework. The 5 // This file provides reliablity test which runs under UI test framework. The
6 // test is intended to run within QEMU environment. 6 // test is intended to run within QEMU environment.
7 // 7 //
8 // Usage 1: reliability_test 8 // Usage 1: reliability_test
9 // Upon invocation, it visits a hard coded list of sample URLs. This is mainly 9 // Upon invocation, it visits a hard coded list of sample URLs. This is mainly
10 // used by buildbot, to verify reliability_test itself runs ok. 10 // used by buildbot, to verify reliability_test itself runs ok.
(...skipping 708 matching lines...) Expand 10 before | Expand all | Expand 10 after
719 if (parsed_command_line.HasSwitch(kSaveDebugLogSwitch)) { 719 if (parsed_command_line.HasSwitch(kSaveDebugLogSwitch)) {
720 g_save_debug_log = true; 720 g_save_debug_log = true;
721 g_chrome_log_path = logging::GetLogFileName(); 721 g_chrome_log_path = logging::GetLogFileName();
722 // We won't get v8 log unless --no-sandbox is specified. 722 // We won't get v8 log unless --no-sandbox is specified.
723 if (parsed_command_line.HasSwitch(switches::kNoSandbox)) { 723 if (parsed_command_line.HasSwitch(switches::kNoSandbox)) {
724 PathService::Get(base::DIR_CURRENT, &g_v8_log_path); 724 PathService::Get(base::DIR_CURRENT, &g_v8_log_path);
725 g_v8_log_path = g_v8_log_path.AppendASCII(kV8LogFileDefaultName); 725 g_v8_log_path = g_v8_log_path.AppendASCII(kV8LogFileDefaultName);
726 // The command line switch may override the default v8 log path. 726 // The command line switch may override the default v8 log path.
727 if (parsed_command_line.HasSwitch(switches::kJavaScriptFlags)) { 727 if (parsed_command_line.HasSwitch(switches::kJavaScriptFlags)) {
728 CommandLine v8_command_line( 728 CommandLine v8_command_line(
729 parsed_command_line.GetSwitchValue(switches::kJavaScriptFlags)); 729 parsed_command_line.GetSwitchValuePath(switches::kJavaScriptFlags));
730 if (v8_command_line.HasSwitch(kV8LogFileSwitch)) { 730 if (v8_command_line.HasSwitch(kV8LogFileSwitch)) {
731 g_v8_log_path = FilePath::FromWStringHack( 731 g_v8_log_path = FilePath::FromWStringHack(
732 v8_command_line.GetSwitchValue(kV8LogFileSwitch)); 732 v8_command_line.GetSwitchValue(kV8LogFileSwitch));
733 if (!file_util::AbsolutePath(&g_v8_log_path)) { 733 if (!file_util::AbsolutePath(&g_v8_log_path)) {
734 g_v8_log_path = FilePath(); 734 g_v8_log_path = FilePath();
735 } 735 }
736 } 736 }
737 } 737 }
738 } 738 }
739 } 739 }
740 } 740 }
OLDNEW
« no previous file with comments | « chrome/test/automation/automation_proxy_uitest.cc ('k') | chrome/test/render_view_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698