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 <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 // possible combinations (tracing enabled/disabled + Timeline on/off). | 69 // possible combinations (tracing enabled/disabled + Timeline on/off). |
70 enum InspectorDomainStatus { | 70 enum InspectorDomainStatus { |
71 kDefaultEnabled, | 71 kDefaultEnabled, |
72 kDefaultDisabled, | 72 kDefaultDisabled, |
73 kExplicitlyEnabled, | 73 kExplicitlyEnabled, |
74 kExplicitlyDisabled | 74 kExplicitlyDisabled |
75 }; | 75 }; |
76 | 76 |
77 InspectorDomainStatus network; | 77 InspectorDomainStatus network; |
78 InspectorDomainStatus page; | 78 InspectorDomainStatus page; |
| 79 // TODO(samuong): Timeline was removed in blink 189656 (chromium commit |
| 80 // position 315092) so remove this option once we stop supporting M41. |
79 InspectorDomainStatus timeline; | 81 InspectorDomainStatus timeline; |
80 | 82 |
81 std::string trace_categories; // Non-empty string enables tracing. | 83 std::string trace_categories; // Non-empty string enables tracing. |
82 int buffer_usage_reporting_interval; // ms between trace buffer usage events. | 84 int buffer_usage_reporting_interval; // ms between trace buffer usage events. |
83 }; | 85 }; |
84 | 86 |
85 struct Capabilities { | 87 struct Capabilities { |
86 Capabilities(); | 88 Capabilities(); |
87 ~Capabilities(); | 89 ~Capabilities(); |
88 | 90 |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 std::string minidump_path; | 139 std::string minidump_path; |
138 | 140 |
139 PerfLoggingPrefs perf_logging_prefs; | 141 PerfLoggingPrefs perf_logging_prefs; |
140 | 142 |
141 scoped_ptr<base::DictionaryValue> prefs; | 143 scoped_ptr<base::DictionaryValue> prefs; |
142 | 144 |
143 Switches switches; | 145 Switches switches; |
144 }; | 146 }; |
145 | 147 |
146 #endif // CHROME_TEST_CHROMEDRIVER_CAPABILITIES_H_ | 148 #endif // CHROME_TEST_CHROMEDRIVER_CAPABILITIES_H_ |
OLD | NEW |