Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(625)

Side by Side Diff: chrome/test/chromedriver/capabilities.h

Issue 985243002: [chromedriver] Disable Timeline by default in performance logs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix unit tests Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/test/chromedriver/capabilities.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « no previous file | chrome/test/chromedriver/capabilities.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698