| 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 11 matching lines...) Expand all Loading... |
| 22 #include <fstream> | 22 #include <fstream> |
| 23 #include <ostream> | 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/prefs/json_pref_store.h" | 31 #include "base/prefs/json_pref_store.h" |
| 32 #include "base/prefs/pref_registry_simple.h" |
| 33 #include "base/prefs/pref_service.h" |
| 34 #include "base/prefs/pref_value_store.h" |
| 32 #include "base/string_number_conversions.h" | 35 #include "base/string_number_conversions.h" |
| 33 #include "base/string_util.h" | 36 #include "base/string_util.h" |
| 34 #include "base/test/test_file_util.h" | 37 #include "base/test/test_file_util.h" |
| 35 #include "base/time.h" | 38 #include "base/time.h" |
| 36 #include "base/utf_string_conversions.h" | 39 #include "base/utf_string_conversions.h" |
| 37 #include "chrome/browser/net/url_fixer_upper.h" | 40 #include "chrome/browser/net/url_fixer_upper.h" |
| 38 #include "chrome/browser/prefs/pref_registry_simple.h" | |
| 39 #include "chrome/browser/prefs/pref_service.h" | |
| 40 #include "chrome/browser/prefs/pref_service_mock_builder.h" | 41 #include "chrome/browser/prefs/pref_service_mock_builder.h" |
| 41 #include "chrome/browser/prefs/pref_value_store.h" | |
| 42 #include "chrome/common/automation_messages.h" | 42 #include "chrome/common/automation_messages.h" |
| 43 #include "chrome/common/chrome_constants.h" | 43 #include "chrome/common/chrome_constants.h" |
| 44 #include "chrome/common/chrome_paths.h" | 44 #include "chrome/common/chrome_paths.h" |
| 45 #include "chrome/common/chrome_paths_internal.h" | 45 #include "chrome/common/chrome_paths_internal.h" |
| 46 #include "chrome/common/chrome_switches.h" | 46 #include "chrome/common/chrome_switches.h" |
| 47 #include "chrome/common/logging_chrome.h" | 47 #include "chrome/common/logging_chrome.h" |
| 48 #include "chrome/common/pref_names.h" | 48 #include "chrome/common/pref_names.h" |
| 49 #include "chrome/test/automation/automation_proxy.h" | 49 #include "chrome/test/automation/automation_proxy.h" |
| 50 #include "chrome/test/automation/browser_proxy.h" | 50 #include "chrome/test/automation/browser_proxy.h" |
| 51 #include "chrome/test/automation/tab_proxy.h" | 51 #include "chrome/test/automation/tab_proxy.h" |
| (...skipping 536 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 588 parsed_command_line.GetSwitchValuePath(switches::kJavaScriptFlags)); | 588 parsed_command_line.GetSwitchValuePath(switches::kJavaScriptFlags)); |
| 589 if (v8_command_line.HasSwitch(kV8LogFileSwitch)) { | 589 if (v8_command_line.HasSwitch(kV8LogFileSwitch)) { |
| 590 g_v8_log_path = v8_command_line.GetSwitchValuePath(kV8LogFileSwitch); | 590 g_v8_log_path = v8_command_line.GetSwitchValuePath(kV8LogFileSwitch); |
| 591 if (!file_util::AbsolutePath(&g_v8_log_path)) | 591 if (!file_util::AbsolutePath(&g_v8_log_path)) |
| 592 g_v8_log_path = base::FilePath(); | 592 g_v8_log_path = base::FilePath(); |
| 593 } | 593 } |
| 594 } | 594 } |
| 595 } | 595 } |
| 596 } | 596 } |
| 597 } | 597 } |
| OLD | NEW |