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

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

Issue 7811002: Remove use of <iostream> where unnecessary. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed Created 9 years, 3 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/tools/ipclist/ipcfuzz.cc ('k') | media/tools/shader_bench/shader_bench.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 tests which run for ChromeFrame. 5 // This file provides reliablity tests which run for ChromeFrame.
6 // 6 //
7 // Usage: 7 // Usage:
8 // <reliability test exe> --list=file --startline=start --endline=end [...] 8 // <reliability test exe> --list=file --startline=start --endline=end [...]
9 // Upon invocation, it visits each of the URLs on line numbers between start 9 // Upon invocation, it visits each of the URLs on line numbers between start
10 // and end, inclusive, stored in the input file. The line number starts from 1. 10 // and end, inclusive, stored in the input file. The line number starts from 1.
11 // 11 //
12 // Optional Switches: 12 // Optional Switches:
13 // --iterations=num: goes through the list of URLs constructed in usage 2 or 3 13 // --iterations=num: goes through the list of URLs constructed in usage 2 or 3
14 // num times. 14 // num times.
15 // --memoryusage: prints out memory usage when visiting each page. 15 // --memoryusage: prints out memory usage when visiting each page.
16 // --logfile=filepath: saves the visit log to the specified path. 16 // --logfile=filepath: saves the visit log to the specified path.
17 // --timeout=seconds: time out as specified in seconds during each 17 // --timeout=seconds: time out as specified in seconds during each
18 // page load. 18 // page load.
19 // --nopagedown: won't simulate page down key presses after page load. 19 // --nopagedown: won't simulate page down key presses after page load.
20 // --noclearprofile: do not clear profile dir before firing up each time. 20 // --noclearprofile: do not clear profile dir before firing up each time.
21 // --savedebuglog: save Chrome, V8, and test debug log for each page loaded. 21 // --savedebuglog: save Chrome, V8, and test debug log for each page loaded.
22 #include <fstream> 22 #include <fstream>
23 #include <iostream> 23 #include <ostream>
24 24
25 #include "base/command_line.h" 25 #include "base/command_line.h"
26 #include "base/file_path.h" 26 #include "base/file_path.h"
27 #include "base/file_util.h" 27 #include "base/file_util.h"
28 #include "base/file_version_info.h" 28 #include "base/file_version_info.h"
29 #include "base/i18n/time_formatting.h" 29 #include "base/i18n/time_formatting.h"
30 #include "base/path_service.h" 30 #include "base/path_service.h"
31 #include "base/string_number_conversions.h" 31 #include "base/string_number_conversions.h"
32 #include "base/string_util.h" 32 #include "base/string_util.h"
33 #include "base/test/test_file_util.h" 33 #include "base/test/test_file_util.h"
(...skipping 545 matching lines...) Expand 10 before | Expand all | Expand 10 after
579 parsed_command_line.GetSwitchValuePath(switches::kJavaScriptFlags)); 579 parsed_command_line.GetSwitchValuePath(switches::kJavaScriptFlags));
580 if (v8_command_line.HasSwitch(kV8LogFileSwitch)) { 580 if (v8_command_line.HasSwitch(kV8LogFileSwitch)) {
581 g_v8_log_path = v8_command_line.GetSwitchValuePath(kV8LogFileSwitch); 581 g_v8_log_path = v8_command_line.GetSwitchValuePath(kV8LogFileSwitch);
582 if (!file_util::AbsolutePath(&g_v8_log_path)) 582 if (!file_util::AbsolutePath(&g_v8_log_path))
583 g_v8_log_path = FilePath(); 583 g_v8_log_path = FilePath();
584 } 584 }
585 } 585 }
586 } 586 }
587 } 587 }
588 } 588 }
OLDNEW
« no previous file with comments | « chrome/tools/ipclist/ipcfuzz.cc ('k') | media/tools/shader_bench/shader_bench.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698