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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 InspectorDomainStatus timeline; | 79 InspectorDomainStatus timeline; |
80 | 80 |
81 std::string trace_categories; // Non-empty string enables tracing. | 81 std::string trace_categories; // Non-empty string enables tracing. |
| 82 int buffer_usage_reporting_interval; // ms between trace buffer usage events. |
82 }; | 83 }; |
83 | 84 |
84 struct Capabilities { | 85 struct Capabilities { |
85 Capabilities(); | 86 Capabilities(); |
86 ~Capabilities(); | 87 ~Capabilities(); |
87 | 88 |
88 // Return true if remote host:port session is to be used. | 89 // Return true if remote host:port session is to be used. |
89 bool IsRemoteBrowser() const; | 90 bool IsRemoteBrowser() const; |
90 | 91 |
91 // Return true if android package is specified. | 92 // Return true if android package is specified. |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 std::string minidump_path; | 137 std::string minidump_path; |
137 | 138 |
138 PerfLoggingPrefs perf_logging_prefs; | 139 PerfLoggingPrefs perf_logging_prefs; |
139 | 140 |
140 scoped_ptr<base::DictionaryValue> prefs; | 141 scoped_ptr<base::DictionaryValue> prefs; |
141 | 142 |
142 Switches switches; | 143 Switches switches; |
143 }; | 144 }; |
144 | 145 |
145 #endif // CHROME_TEST_CHROMEDRIVER_CAPABILITIES_H_ | 146 #endif // CHROME_TEST_CHROMEDRIVER_CAPABILITIES_H_ |
OLD | NEW |