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

Unified Diff: chrome/common/chrome_switches.cc

Issue 11636031: [Fixit Dec-2012] Refactor first_run, very few things should depend on whether the First Run senti... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: No first run import test on OS_CHROMEOS. Created 7 years, 12 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/common/switch_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/chrome_switches.cc
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index 2f63435aa5d4942688c346687fed2073dda3fb14..505bd91bd8937073522197fd00cb64f99fb42331 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -700,11 +700,8 @@ const char kFeedbackServer[] = "feedback-server";
const char kFileDescriptorLimit[] = "file-descriptor-limit";
// Displays the First Run experience when the browser is started, regardless of
-// whether or not it's actually the first run.
-const char kFirstRun[] = "first-run";
-
-// Force a profile auto-import that would occur on a first run.
-const char kFirstRunForceImport[] = "first-run-force-import";
+// whether or not it's actually the First Run (this overrides kNoFirstRun).
+const char kForceFirstRun[] = "force-first-run";
// Enables using GAIA information to populate profile name and icon.
const char kGaiaProfileInfo[] = "gaia-profile-info";
@@ -884,8 +881,10 @@ const char kNoEvents[] = "no-events";
// then restart chrome without this switch again.
const char kNoExperiments[] = "no-experiments";
-// Whether or not it's actually the first run. Overrides kFirstRun in case
-// you're for some reason tempted to pass them both.
+// Skip First Run tasks, whether or not it's actually the First Run. Overridden
+// by kForceFirstRun.
+// Also drops the First Run beacon so that First Run will not occur in
+// subsequent runs as well.
const char kNoFirstRun[] = "no-first-run";
// Support a separate switch that enables the v8 playback extension.
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/common/switch_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698