OLD | NEW |
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 // 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 15 matching lines...) Expand all Loading... |
26 #include "base/file_util.h" | 26 #include "base/file_util.h" |
27 #include "base/file_version_info.h" | 27 #include "base/file_version_info.h" |
28 #include "base/files/file_enumerator.h" | 28 #include "base/files/file_enumerator.h" |
29 #include "base/files/file_path.h" | 29 #include "base/files/file_path.h" |
30 #include "base/i18n/time_formatting.h" | 30 #include "base/i18n/time_formatting.h" |
31 #include "base/path_service.h" | 31 #include "base/path_service.h" |
32 #include "base/prefs/json_pref_store.h" | 32 #include "base/prefs/json_pref_store.h" |
33 #include "base/prefs/pref_registry_simple.h" | 33 #include "base/prefs/pref_registry_simple.h" |
34 #include "base/prefs/pref_service.h" | 34 #include "base/prefs/pref_service.h" |
35 #include "base/prefs/pref_value_store.h" | 35 #include "base/prefs/pref_value_store.h" |
36 #include "base/string_number_conversions.h" | 36 #include "base/strings/string_number_conversions.h" |
37 #include "base/string_util.h" | 37 #include "base/strings/string_util.h" |
38 #include "base/strings/utf_string_conversions.h" | 38 #include "base/strings/utf_string_conversions.h" |
39 #include "base/test/test_file_util.h" | 39 #include "base/test/test_file_util.h" |
40 #include "base/time.h" | 40 #include "base/time.h" |
41 #include "chrome/browser/net/url_fixer_upper.h" | 41 #include "chrome/browser/net/url_fixer_upper.h" |
42 #include "chrome/browser/prefs/pref_service_mock_builder.h" | 42 #include "chrome/browser/prefs/pref_service_mock_builder.h" |
43 #include "chrome/common/automation_messages.h" | 43 #include "chrome/common/automation_messages.h" |
44 #include "chrome/common/chrome_constants.h" | 44 #include "chrome/common/chrome_constants.h" |
45 #include "chrome/common/chrome_paths.h" | 45 #include "chrome/common/chrome_paths.h" |
46 #include "chrome/common/chrome_paths_internal.h" | 46 #include "chrome/common/chrome_paths_internal.h" |
47 #include "chrome/common/chrome_switches.h" | 47 #include "chrome/common/chrome_switches.h" |
(...skipping 540 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
588 CommandLine v8_command_line( | 588 CommandLine v8_command_line( |
589 parsed_command_line.GetSwitchValuePath(switches::kJavaScriptFlags)); | 589 parsed_command_line.GetSwitchValuePath(switches::kJavaScriptFlags)); |
590 if (v8_command_line.HasSwitch(kV8LogFileSwitch)) { | 590 if (v8_command_line.HasSwitch(kV8LogFileSwitch)) { |
591 g_v8_log_path = base::MakeAbsoluteFilePath( | 591 g_v8_log_path = base::MakeAbsoluteFilePath( |
592 v8_command_line.GetSwitchValuePath(kV8LogFileSwitch)); | 592 v8_command_line.GetSwitchValuePath(kV8LogFileSwitch)); |
593 } | 593 } |
594 } | 594 } |
595 } | 595 } |
596 } | 596 } |
597 } | 597 } |
OLD | NEW |