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

Side by Side Diff: chrome/common/chrome_switches.cc

Issue 2933953002: Make --enable-benchmarking not affect metrics recording. (Closed)
Patch Set: Created 3 years, 6 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 | « chrome/common/chrome_switches.h ('k') | components/metrics/metrics_switches.h » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "chrome/common/chrome_switches.h" 5 #include "chrome/common/chrome_switches.h"
6 6
7 #include "base/base_switches.h" 7 #include "base/base_switches.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "ppapi/features/features.h" 10 #include "ppapi/features/features.h"
(...skipping 564 matching lines...) Expand 10 before | Expand all | Expand 10 after
575 // Loads the Media Router component extension on startup. 575 // Loads the Media Router component extension on startup.
576 const char kLoadMediaRouterComponentExtension[] = 576 const char kLoadMediaRouterComponentExtension[] =
577 "load-media-router-component-extension"; 577 "load-media-router-component-extension";
578 578
579 // Makes Chrome default browser 579 // Makes Chrome default browser
580 const char kMakeDefaultBrowser[] = "make-default-browser"; 580 const char kMakeDefaultBrowser[] = "make-default-browser";
581 581
582 // Forces the maximum disk space to be used by the media cache, in bytes. 582 // Forces the maximum disk space to be used by the media cache, in bytes.
583 const char kMediaCacheSize[] = "media-cache-size"; 583 const char kMediaCacheSize[] = "media-cache-size";
584 584
585 // Enables the recording of metrics reports but disables reporting. In contrast
586 // to kDisableMetrics, this executes all the code that a normal client would
587 // use for reporting, except the report is dropped rather than sent to the
588 // server. This is useful for finding issues in the metrics code during UI and
589 // performance tests.
590 const char kMetricsRecordingOnly[] = "metrics-recording-only";
591
592 // Allows setting a different destination ID for connection-monitoring GCM 585 // Allows setting a different destination ID for connection-monitoring GCM
593 // messages. Useful when running against a non-prod management server. 586 // messages. Useful when running against a non-prod management server.
594 const char kMonitoringDestinationID[] = "monitoring-destination-id"; 587 const char kMonitoringDestinationID[] = "monitoring-destination-id";
595 588
596 // Sets the granularity of events to capture in the network log. The mode can be 589 // Sets the granularity of events to capture in the network log. The mode can be
597 // set to one of the following values: 590 // set to one of the following values:
598 // "Default" 591 // "Default"
599 // "IncludeCookiesAndCredentials" 592 // "IncludeCookiesAndCredentials"
600 // "IncludeSocketBytes" 593 // "IncludeSocketBytes"
601 // 594 //
(...skipping 590 matching lines...) Expand 10 before | Expand all | Expand 10 after
1192 1185
1193 // ----------------------------------------------------------------------------- 1186 // -----------------------------------------------------------------------------
1194 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE. 1187 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE.
1195 // 1188 //
1196 // You were going to just dump your switches here, weren't you? Instead, please 1189 // You were going to just dump your switches here, weren't you? Instead, please
1197 // put them in alphabetical order above, or in order inside the appropriate 1190 // put them in alphabetical order above, or in order inside the appropriate
1198 // ifdef at the bottom. The order should match the header. 1191 // ifdef at the bottom. The order should match the header.
1199 // ----------------------------------------------------------------------------- 1192 // -----------------------------------------------------------------------------
1200 1193
1201 } // namespace switches 1194 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | components/metrics/metrics_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698