 Chromium Code Reviews
 Chromium Code Reviews Issue 2125123002:
  [chromedriver] Add page loading strategy to capabilities  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/src.git@master
    
  
    Issue 2125123002:
  [chromedriver] Add page loading strategy to capabilities  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/src.git@master| OLD | NEW | 
|---|---|
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 #ifndef CHROME_TEST_CHROMEDRIVER_CAPABILITIES_H_ | 5 #ifndef CHROME_TEST_CHROMEDRIVER_CAPABILITIES_H_ | 
| 6 #define CHROME_TEST_CHROMEDRIVER_CAPABILITIES_H_ | 6 #define CHROME_TEST_CHROMEDRIVER_CAPABILITIES_H_ | 
| 7 | 7 | 
| 8 #include <stddef.h> | 8 #include <stddef.h> | 
| 9 | 9 | 
| 10 #include <map> | 10 #include <map> | 
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 135 | 135 | 
| 136 std::unique_ptr<base::DictionaryValue> local_state; | 136 std::unique_ptr<base::DictionaryValue> local_state; | 
| 137 | 137 | 
| 138 std::string log_path; | 138 std::string log_path; | 
| 139 | 139 | 
| 140 LoggingPrefs logging_prefs; | 140 LoggingPrefs logging_prefs; | 
| 141 | 141 | 
| 142 // If set, enable minidump for chrome crashes and save to this directory. | 142 // If set, enable minidump for chrome crashes and save to this directory. | 
| 143 std::string minidump_path; | 143 std::string minidump_path; | 
| 144 | 144 | 
| 145 std::string page_loading; | |
| 
samuong
2016/07/25 22:44:33
let's call this "page_load_strategy" to be consist
 
evajiang
2016/07/28 17:15:03
Done.
 | |
| 146 | |
| 145 bool network_emulation_enabled; | 147 bool network_emulation_enabled; | 
| 146 | 148 | 
| 147 PerfLoggingPrefs perf_logging_prefs; | 149 PerfLoggingPrefs perf_logging_prefs; | 
| 148 | 150 | 
| 149 std::unique_ptr<base::DictionaryValue> prefs; | 151 std::unique_ptr<base::DictionaryValue> prefs; | 
| 150 | 152 | 
| 151 Switches switches; | 153 Switches switches; | 
| 152 | 154 | 
| 153 std::set<WebViewInfo::Type> window_types; | 155 std::set<WebViewInfo::Type> window_types; | 
| 154 }; | 156 }; | 
| 155 | 157 | 
| 156 #endif // CHROME_TEST_CHROMEDRIVER_CAPABILITIES_H_ | 158 #endif // CHROME_TEST_CHROMEDRIVER_CAPABILITIES_H_ | 
| OLD | NEW |