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

Unified Diff: chrome/browser/first_run/first_run.cc

Issue 10756023: Fix the first_run regression issue related to skip_first_run_ui setting processing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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
Index: chrome/browser/first_run/first_run.cc
diff --git a/chrome/browser/first_run/first_run.cc b/chrome/browser/first_run/first_run.cc
index dd04fde3476550f7dd8851b618c0583216609974..4ad8574d16e66491e71674a2a1d968aa3fe65433 100644
--- a/chrome/browser/first_run/first_run.cc
+++ b/chrome/browser/first_run/first_run.cc
@@ -266,15 +266,15 @@ void SetShowWelcomePagePrefIfNeeded(
}
}
-bool SkipFirstRunUI(installer::MasterPreferences* install_prefs) {
+bool NotSkipFirstRunUI(installer::MasterPreferences* install_prefs) {
msw 2012/07/10 01:51:21 I dislike this name, please leave it SkipFirstRunU
jennyz 2012/07/10 16:07:16 Done.
// TODO(mirandac): Refactor skip-first-run-ui process into regular first run
// import process. http://crbug.com/49647
// Note we are skipping all other master preferences if skip-first-run-ui
msw 2012/07/10 01:51:21 This note/comment belong with the code that actual
jennyz 2012/07/10 16:07:16 Done.
// is *not* specified. (That is, we continue only if skipping first run ui.)
bool value = false;
- return (install_prefs->GetBool(
- installer::master_preferences::kDistroSkipFirstRunPref,
- &value) || !value);
+ return (!install_prefs->GetBool(
msw 2012/07/10 01:51:21 In keeping the original name, this function can ju
jennyz 2012/07/10 16:07:16 Done.
+ installer::master_preferences::kDistroSkipFirstRunPref, &value)
+ || !value);
}
void SetRLZPref(first_run::MasterPrefs* out_prefs,
« no previous file with comments | « no previous file | chrome/browser/first_run/first_run_internal.h » ('j') | chrome/browser/first_run/first_run_internal.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698