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

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

Issue 312583002: Move MetricsStateManager into the Metrics component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Response to review Created 6 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 | Annotate | Revision Log
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/common/pref_names.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 9
10 namespace switches { 10 namespace switches {
(...skipping 1036 matching lines...) Expand 10 before | Expand all | Expand 10 after
1047 1047
1048 // Enables print preview in the renderer. This flag is generated internally by 1048 // Enables print preview in the renderer. This flag is generated internally by
1049 // Chrome and does nothing when directly passed to the browser. 1049 // Chrome and does nothing when directly passed to the browser.
1050 const char kRendererPrintPreview[] = "renderer-print-preview"; 1050 const char kRendererPrintPreview[] = "renderer-print-preview";
1051 1051
1052 // If set, the app list will forget it has been installed on startup. Note this 1052 // If set, the app list will forget it has been installed on startup. Note this
1053 // doesn't prevent the app list from running, it just makes Chrome think the app 1053 // doesn't prevent the app list from running, it just makes Chrome think the app
1054 // list hasn't been enabled (as in kEnableAppList) yet. 1054 // list hasn't been enabled (as in kEnableAppList) yet.
1055 const char kResetAppListInstallState[] = "reset-app-list-install-state"; 1055 const char kResetAppListInstallState[] = "reset-app-list-install-state";
1056 1056
1057 // Forces a reset of the one-time-randomized FieldTrials on this client, also
1058 // known as the Chrome Variations state.
1059 const char kResetVariationState[] = "reset-variation-state";
1060
1061 // Indicates the last session should be restored on startup. This overrides the 1057 // Indicates the last session should be restored on startup. This overrides the
1062 // preferences value and is primarily intended for testing. The value of this 1058 // preferences value and is primarily intended for testing. The value of this
1063 // switch is the number of tabs to wait until loaded before 'load completed' is 1059 // switch is the number of tabs to wait until loaded before 'load completed' is
1064 // sent to the ui_test. 1060 // sent to the ui_test.
1065 const char kRestoreLastSession[] = "restore-last-session"; 1061 const char kRestoreLastSession[] = "restore-last-session";
1066 1062
1067 // Disable saving pages as HTML-only, disable saving pages as HTML Complete 1063 // Disable saving pages as HTML-only, disable saving pages as HTML Complete
1068 // (with a directory of sub-resources). Enable only saving pages as MHTML. 1064 // (with a directory of sub-resources). Enable only saving pages as MHTML.
1069 // See http://crbug.com/120416 for how to remove this switch. 1065 // See http://crbug.com/120416 for how to remove this switch.
1070 const char kSavePageAsMHTML[] = "save-page-as-mhtml"; 1066 const char kSavePageAsMHTML[] = "save-page-as-mhtml";
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after
1395 1391
1396 // ----------------------------------------------------------------------------- 1392 // -----------------------------------------------------------------------------
1397 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1393 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1398 // 1394 //
1399 // You were going to just dump your switches here, weren't you? Instead, please 1395 // You were going to just dump your switches here, weren't you? Instead, please
1400 // put them in alphabetical order above, or in order inside the appropriate 1396 // put them in alphabetical order above, or in order inside the appropriate
1401 // ifdef at the bottom. The order should match the header. 1397 // ifdef at the bottom. The order should match the header.
1402 // ----------------------------------------------------------------------------- 1398 // -----------------------------------------------------------------------------
1403 1399
1404 } // namespace switches 1400 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/common/pref_names.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698