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

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

Issue 10830241: Inform GetEntropySource of whether or not metrics reporting will be enabled. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Added browsertest Created 8 years, 4 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
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 555 matching lines...) Expand 10 before | Expand all | Expand 10 after
566 // The managed storage extension API is disabled by default for now. This 566 // The managed storage extension API is disabled by default for now. This
567 // flag can be used to enable it until http://crbug.com/108992 is fixed. 567 // flag can be used to enable it until http://crbug.com/108992 is fixed.
568 extern const char kEnableManagedStorage[] = "enable-managed-storage"; 568 extern const char kEnableManagedStorage[] = "enable-managed-storage";
569 569
570 // Enables media gallery UI elements and permission management. 570 // Enables media gallery UI elements and permission management.
571 const char kEnableMediaGalleryUI[] = "enable-media-gallery-ui"; 571 const char kEnableMediaGalleryUI[] = "enable-media-gallery-ui";
572 572
573 // Allows reporting memory info (JS heap size) to page. 573 // Allows reporting memory info (JS heap size) to page.
574 const char kEnableMemoryInfo[] = "enable-memory-info"; 574 const char kEnableMemoryInfo[] = "enable-memory-info";
575 575
576 // Enables metrics recording and reporting in the browser startup sequence, as
577 // if this was an official Chrome build where the user allowed metrics
578 // reporting. This is used for testing only.
579 const char kEnableMetricsReporting[] = "enable-metrics-reporting";
580
576 // Runs the Native Client inside the renderer process and enables GPU plugin 581 // Runs the Native Client inside the renderer process and enables GPU plugin
577 // (internally adds lEnableGpuPlugin to the command line). 582 // (internally adds lEnableGpuPlugin to the command line).
578 const char kEnableNaCl[] = "enable-nacl"; 583 const char kEnableNaCl[] = "enable-nacl";
579 584
580 // Enables debugging via RSP over a socket. 585 // Enables debugging via RSP over a socket.
581 const char kEnableNaClDebug[] = "enable-nacl-debug"; 586 const char kEnableNaClDebug[] = "enable-nacl-debug";
582 587
583 // Enables the Chrome IPC-based Proxy for NaCl. 588 // Enables the Chrome IPC-based Proxy for NaCl.
584 const char kEnableNaClIPCProxy[] = "enable-nacl-ipc-proxy"; 589 const char kEnableNaClIPCProxy[] = "enable-nacl-ipc-proxy";
585 590
(...skipping 966 matching lines...) Expand 10 before | Expand all | Expand 10 after
1552 1557
1553 // ----------------------------------------------------------------------------- 1558 // -----------------------------------------------------------------------------
1554 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1559 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1555 // 1560 //
1556 // You were going to just dump your switches here, weren't you? Instead, please 1561 // You were going to just dump your switches here, weren't you? Instead, please
1557 // put them in alphabetical order above, or in order inside the appropriate 1562 // put them in alphabetical order above, or in order inside the appropriate
1558 // ifdef at the bottom. The order should match the header. 1563 // ifdef at the bottom. The order should match the header.
1559 // ----------------------------------------------------------------------------- 1564 // -----------------------------------------------------------------------------
1560 1565
1561 } // namespace switches 1566 } // namespace switches
OLDNEW
« chrome/browser/metrics/metrics_service_browsertest.cc ('K') | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698