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

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

Issue 284293003: [Metrics] Make MetricsStateManager take a callback param to check if UMA is enabled. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 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 | Annotate | Revision Log
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | no next file » | 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 9
10 namespace switches { 10 namespace switches {
(...skipping 501 matching lines...) Expand 10 before | Expand all | Expand 10 after
512 512
513 // Enables IPv6 support, even if probes suggest that it may not be fully 513 // Enables IPv6 support, even if probes suggest that it may not be fully
514 // supported. Some probes may require internet connections, and this flag will 514 // supported. Some probes may require internet connections, and this flag will
515 // allow support independent of application testing. This flag overrides 515 // allow support independent of application testing. This flag overrides
516 // "disable-ipv6" which appears elswhere in this file. 516 // "disable-ipv6" which appears elswhere in this file.
517 const char kEnableIPv6[] = "enable-ipv6"; 517 const char kEnableIPv6[] = "enable-ipv6";
518 518
519 // Enables experimentation with launching ephemeral apps via hyperlinks. 519 // Enables experimentation with launching ephemeral apps via hyperlinks.
520 const char kEnableLinkableEphemeralApps[] = "enable-linkable-ephemeral-apps"; 520 const char kEnableLinkableEphemeralApps[] = "enable-linkable-ephemeral-apps";
521 521
522 // Enables metrics recording and reporting in the browser startup sequence, as
523 // if this was an official Chrome build where the user allowed metrics
524 // reporting. This is used for testing only.
525 const char kEnableMetricsReportingForTesting[] =
526 "enable-metrics-reporting-for-testing";
527
528 // Runs the Native Client inside the renderer process and enables GPU plugin 522 // Runs the Native Client inside the renderer process and enables GPU plugin
529 // (internally adds lEnableGpuPlugin to the command line). 523 // (internally adds lEnableGpuPlugin to the command line).
530 const char kEnableNaCl[] = "enable-nacl"; 524 const char kEnableNaCl[] = "enable-nacl";
531 525
532 // Enables the network-related benchmarking extensions. 526 // Enables the network-related benchmarking extensions.
533 const char kEnableNetBenchmarking[] = "enable-net-benchmarking"; 527 const char kEnableNetBenchmarking[] = "enable-net-benchmarking";
534 528
535 // Enables |NetworkTimeService| to convert local time to network time. 529 // Enables |NetworkTimeService| to convert local time to network time.
536 const char kEnableNetworkTime[] = "enable-network-time"; 530 const char kEnableNetworkTime[] = "enable-network-time";
537 531
(...skipping 914 matching lines...) Expand 10 before | Expand all | Expand 10 after
1452 1446
1453 // ----------------------------------------------------------------------------- 1447 // -----------------------------------------------------------------------------
1454 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1448 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1455 // 1449 //
1456 // You were going to just dump your switches here, weren't you? Instead, please 1450 // You were going to just dump your switches here, weren't you? Instead, please
1457 // put them in alphabetical order above, or in order inside the appropriate 1451 // put them in alphabetical order above, or in order inside the appropriate
1458 // ifdef at the bottom. The order should match the header. 1452 // ifdef at the bottom. The order should match the header.
1459 // ----------------------------------------------------------------------------- 1453 // -----------------------------------------------------------------------------
1460 1454
1461 } // namespace switches 1455 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698