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

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

Issue 21150006: Introduce --cancel-first-run and reduce the strength of --no-first-run. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: --skip-first-run => --no-first-run Created 7 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 | Annotate | Revision Log
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/installer/setup/setup_main.cc » ('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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 138
139 // The value of this switch tells the app to listen for and broadcast 139 // The value of this switch tells the app to listen for and broadcast
140 // automation-related messages on IPC channel with the given ID. 140 // automation-related messages on IPC channel with the given ID.
141 const char kAutomationClientChannelID[] = "automation-channel"; 141 const char kAutomationClientChannelID[] = "automation-channel";
142 142
143 // Causes the automation provider to reinitialize its IPC channel instead of 143 // Causes the automation provider to reinitialize its IPC channel instead of
144 // shutting down when a client disconnects. 144 // shutting down when a client disconnects.
145 const char kAutomationReinitializeOnChannelError[] = 145 const char kAutomationReinitializeOnChannelError[] =
146 "automation-reinitialize-on-channel-error"; 146 "automation-reinitialize-on-channel-error";
147 147
148 // Similar to kNoFirstRun, but also drops the First Run beacon so that first run
149 // will not occur in subsequent runs either.
150 const char kCancelFirstRun[] = "cancel-first-run";
151
148 // How often (in seconds) to check for updates. Should only be used for testing 152 // How often (in seconds) to check for updates. Should only be used for testing
149 // purposes. 153 // purposes.
150 const char kCheckForUpdateIntervalSec[] = "check-for-update-interval"; 154 const char kCheckForUpdateIntervalSec[] = "check-for-update-interval";
151 155
152 // Checks the cloud print connector policy, informing the service process if 156 // Checks the cloud print connector policy, informing the service process if
153 // the policy is set to disallow the connector, then quits. 157 // the policy is set to disallow the connector, then quits.
154 const char kCheckCloudPrintConnectorPolicy[] = 158 const char kCheckCloudPrintConnectorPolicy[] =
155 "check-cloud-print-connector-policy"; 159 "check-cloud-print-connector-policy";
156 160
157 // Run Chrome in Chrome Frame mode. This means that Chrome expects to be run 161 // Run Chrome in Chrome Frame mode. This means that Chrome expects to be run
(...skipping 644 matching lines...) Expand 10 before | Expand all | Expand 10 after
802 // The file descriptor limit is set to the value of this switch, subject to the 806 // The file descriptor limit is set to the value of this switch, subject to the
803 // OS hard limits. Useful for testing that file descriptor exhaustion is 807 // OS hard limits. Useful for testing that file descriptor exhaustion is
804 // handled gracefully. 808 // handled gracefully.
805 const char kFileDescriptorLimit[] = "file-descriptor-limit"; 809 const char kFileDescriptorLimit[] = "file-descriptor-limit";
806 810
807 // Forces application mode. This hides certain system UI elements and forces 811 // Forces application mode. This hides certain system UI elements and forces
808 // the app to be installed if it hasn't been already. 812 // the app to be installed if it hasn't been already.
809 const char kForceAppMode[] = "force-app-mode"; 813 const char kForceAppMode[] = "force-app-mode";
810 814
811 // Displays the First Run experience when the browser is started, regardless of 815 // Displays the First Run experience when the browser is started, regardless of
812 // whether or not it's actually the First Run (this overrides kNoFirstRun). 816 // whether or not it's actually the First Run (this overrides kNoFirstRun and
817 // kCancelFirstRun).
813 const char kForceFirstRun[] = "force-first-run"; 818 const char kForceFirstRun[] = "force-first-run";
814 819
815 // Tries to load cloud policy for every signed in user, regardless of whether 820 // Tries to load cloud policy for every signed in user, regardless of whether
816 // they are a dasher user or not. Used to allow any GAIA account to be used for 821 // they are a dasher user or not. Used to allow any GAIA account to be used for
817 // testing the cloud policy framework. 822 // testing the cloud policy framework.
818 const char kForceLoadCloudPolicy[] = "force-load-cloud-policy"; 823 const char kForceLoadCloudPolicy[] = "force-load-cloud-policy";
819 824
820 // Enables using GAIA information to populate profile name and icon. 825 // Enables using GAIA information to populate profile name and icon.
821 const char kGaiaProfileInfo[] = "gaia-profile-info"; 826 const char kGaiaProfileInfo[] = "gaia-profile-info";
822 827
(...skipping 781 matching lines...) Expand 10 before | Expand all | Expand 10 after
1604 1609
1605 // ----------------------------------------------------------------------------- 1610 // -----------------------------------------------------------------------------
1606 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1611 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1607 // 1612 //
1608 // You were going to just dump your switches here, weren't you? Instead, please 1613 // You were going to just dump your switches here, weren't you? Instead, please
1609 // put them in alphabetical order above, or in order inside the appropriate 1614 // put them in alphabetical order above, or in order inside the appropriate
1610 // ifdef at the bottom. The order should match the header. 1615 // ifdef at the bottom. The order should match the header.
1611 // ----------------------------------------------------------------------------- 1616 // -----------------------------------------------------------------------------
1612 1617
1613 } // namespace switches 1618 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/installer/setup/setup_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698