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

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

Issue 2861563002: Add an override flag to enable metrics reporting. (Closed)
Patch Set: Rebase Created 3 years, 7 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_services_manager/BUILD.gn » ('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 466 matching lines...) Expand 10 before | Expand all | Expand 10 after
477 const char kForceAppMode[] = "force-app-mode"; 477 const char kForceAppMode[] = "force-app-mode";
478 478
479 // Forces Desktop to iOS promotion to appear in windows whenever an entrypoint 479 // Forces Desktop to iOS promotion to appear in windows whenever an entrypoint
480 // is triggered. 480 // is triggered.
481 const char kForceDesktopIOSPromotion[] = "force-desktop-ios-promotion"; 481 const char kForceDesktopIOSPromotion[] = "force-desktop-ios-promotion";
482 482
483 // Forces Network Quality Estimator (NQE) to return a specific effective 483 // Forces Network Quality Estimator (NQE) to return a specific effective
484 // connection type. 484 // connection type.
485 const char kForceEffectiveConnectionType[] = "force-effective-connection-type"; 485 const char kForceEffectiveConnectionType[] = "force-effective-connection-type";
486 486
487 // Forces metrics reporting to be enabled.
488 const char kForceEnableMetricsReporting[] = "force-enable-metrics-reporting";
489
487 // Displays the First Run experience when the browser is started, regardless of 490 // Displays the First Run experience when the browser is started, regardless of
488 // whether or not it's actually the First Run (this overrides kNoFirstRun). 491 // whether or not it's actually the First Run (this overrides kNoFirstRun).
489 const char kForceFirstRun[] = "force-first-run"; 492 const char kForceFirstRun[] = "force-first-run";
490 493
491 // Forces Chrome to use localNTP instead of server (GWS) NTP. 494 // Forces Chrome to use localNTP instead of server (GWS) NTP.
492 const char kForceLocalNtp[] = "force-local-ntp"; 495 const char kForceLocalNtp[] = "force-local-ntp";
493 496
494 // Forces additional Chrome Variation Ids that will be sent in X-Client-Data 497 // Forces additional Chrome Variation Ids that will be sent in X-Client-Data
495 // header, specified as a 64-bit encoded list of numeric experiment ids. Ids 498 // header, specified as a 64-bit encoded list of numeric experiment ids. Ids
496 // prefixed with the character "t" will be treated as Trigger Variation Ids. 499 // prefixed with the character "t" will be treated as Trigger Variation Ids.
(...skipping 679 matching lines...) Expand 10 before | Expand all | Expand 10 after
1176 1179
1177 // ----------------------------------------------------------------------------- 1180 // -----------------------------------------------------------------------------
1178 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE. 1181 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE.
1179 // 1182 //
1180 // You were going to just dump your switches here, weren't you? Instead, please 1183 // You were going to just dump your switches here, weren't you? Instead, please
1181 // put them in alphabetical order above, or in order inside the appropriate 1184 // put them in alphabetical order above, or in order inside the appropriate
1182 // ifdef at the bottom. The order should match the header. 1185 // ifdef at the bottom. The order should match the header.
1183 // ----------------------------------------------------------------------------- 1186 // -----------------------------------------------------------------------------
1184 1187
1185 } // namespace switches 1188 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | components/metrics_services_manager/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698