| OLD | NEW |
| 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 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. |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 #include <fstream> | 24 #include <fstream> |
| 25 #include <iostream> | 25 #include <iostream> |
| 26 | 26 |
| 27 #include "base/command_line.h" | 27 #include "base/command_line.h" |
| 28 #include "base/file_path.h" | 28 #include "base/file_path.h" |
| 29 #include "base/file_util.h" | 29 #include "base/file_util.h" |
| 30 #include "base/file_version_info.h" | 30 #include "base/file_version_info.h" |
| 31 #include "base/keyboard_codes.h" | 31 #include "base/keyboard_codes.h" |
| 32 #include "base/i18n/time_formatting.h" | 32 #include "base/i18n/time_formatting.h" |
| 33 #include "base/path_service.h" | 33 #include "base/path_service.h" |
| 34 #include "base/registry.h" | |
| 35 #include "base/string_util.h" | 34 #include "base/string_util.h" |
| 36 #include "base/test/test_file_util.h" | 35 #include "base/test/test_file_util.h" |
| 37 #include "base/time.h" | 36 #include "base/time.h" |
| 38 #include "chrome/browser/chrome_thread.h" | 37 #include "chrome/browser/chrome_thread.h" |
| 39 #include "chrome/browser/net/url_fixer_upper.h" | 38 #include "chrome/browser/net/url_fixer_upper.h" |
| 40 #include "chrome/browser/pref_service.h" | 39 #include "chrome/browser/pref_service.h" |
| 41 #include "chrome/browser/pref_value_store.h" | 40 #include "chrome/browser/pref_value_store.h" |
| 42 #include "chrome/common/chrome_constants.h" | 41 #include "chrome/common/chrome_constants.h" |
| 43 #include "chrome/common/chrome_paths.h" | 42 #include "chrome/common/chrome_paths.h" |
| 44 #include "chrome/common/chrome_paths_internal.h" | 43 #include "chrome/common/chrome_paths_internal.h" |
| (...skipping 575 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 620 parsed_command_line.GetSwitchValuePath(switches::kJavaScriptFlags)); | 619 parsed_command_line.GetSwitchValuePath(switches::kJavaScriptFlags)); |
| 621 if (v8_command_line.HasSwitch(kV8LogFileSwitch)) { | 620 if (v8_command_line.HasSwitch(kV8LogFileSwitch)) { |
| 622 g_v8_log_path = v8_command_line.GetSwitchValuePath(kV8LogFileSwitch); | 621 g_v8_log_path = v8_command_line.GetSwitchValuePath(kV8LogFileSwitch); |
| 623 if (!file_util::AbsolutePath(&g_v8_log_path)) | 622 if (!file_util::AbsolutePath(&g_v8_log_path)) |
| 624 g_v8_log_path = FilePath(); | 623 g_v8_log_path = FilePath(); |
| 625 } | 624 } |
| 626 } | 625 } |
| 627 } | 626 } |
| 628 } | 627 } |
| 629 } | 628 } |
| 630 | |
| OLD | NEW |