| 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> |
| 11 #include <memory> | 11 #include <memory> |
| 12 #include <set> | 12 #include <set> |
| 13 #include <string> | 13 #include <string> |
| 14 #include <vector> | 14 #include <vector> |
| 15 | 15 |
| 16 #include "base/command_line.h" | 16 #include "base/command_line.h" |
| 17 #include "base/files/file_path.h" | 17 #include "base/files/file_path.h" |
| 18 #include "base/strings/string16.h" | 18 #include "base/strings/string16.h" |
| 19 #include "chrome/test/chromedriver/chrome/device_metrics.h" | 19 #include "chrome/test/chromedriver/chrome/device_metrics.h" |
| 20 #include "chrome/test/chromedriver/chrome/devtools_http_client.h" | 20 #include "chrome/test/chromedriver/chrome/devtools_http_client.h" |
| 21 #include "chrome/test/chromedriver/chrome/log.h" | 21 #include "chrome/test/chromedriver/chrome/log.h" |
| 22 #include "chrome/test/chromedriver/net/net_util.h" | 22 #include "chrome/test/chromedriver/net/net_util.h" |
| 23 | 23 |
| 24 namespace base { | 24 namespace base { |
| 25 class CommandLine; | 25 class CommandLine; |
| 26 class DictionaryValue; | 26 class DictionaryValue; |
| 27 class ListValue; |
| 27 } | 28 } |
| 28 | 29 |
| 29 class Status; | 30 class Status; |
| 30 | 31 |
| 31 class Switches { | 32 class Switches { |
| 32 public: | 33 public: |
| 33 typedef base::FilePath::StringType NativeString; | 34 typedef base::FilePath::StringType NativeString; |
| 34 Switches(); | 35 Switches(); |
| 35 Switches(const Switches& other); | 36 Switches(const Switches& other); |
| 36 ~Switches(); | 37 ~Switches(); |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 std::string minidump_path; | 144 std::string minidump_path; |
| 144 | 145 |
| 145 std::string page_load_strategy; | 146 std::string page_load_strategy; |
| 146 | 147 |
| 147 std::string unexpected_alert_behaviour; | 148 std::string unexpected_alert_behaviour; |
| 148 | 149 |
| 149 bool network_emulation_enabled; | 150 bool network_emulation_enabled; |
| 150 | 151 |
| 151 PerfLoggingPrefs perf_logging_prefs; | 152 PerfLoggingPrefs perf_logging_prefs; |
| 152 | 153 |
| 154 std::unique_ptr<base::ListValue> devtools_events_logging_prefs; |
| 155 |
| 153 std::unique_ptr<base::DictionaryValue> prefs; | 156 std::unique_ptr<base::DictionaryValue> prefs; |
| 154 | 157 |
| 155 Switches switches; | 158 Switches switches; |
| 156 | 159 |
| 157 std::set<WebViewInfo::Type> window_types; | 160 std::set<WebViewInfo::Type> window_types; |
| 158 | 161 |
| 159 bool use_automation_extension; | 162 bool use_automation_extension; |
| 160 }; | 163 }; |
| 161 | 164 |
| 162 #endif // CHROME_TEST_CHROMEDRIVER_CAPABILITIES_H_ | 165 #endif // CHROME_TEST_CHROMEDRIVER_CAPABILITIES_H_ |
| OLD | NEW |