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

Unified Diff: chrome/browser/browser_main.cc

Issue 176018: Merge 24736 - Change default homepage experience.... (Closed) Base URL: svn://chrome-svn/chrome/branches/195/src/
Patch Set: Created 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/browser.cc ('k') | chrome/browser/google_url_tracker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_main.cc
===================================================================
--- chrome/browser/browser_main.cc (revision 24751)
+++ chrome/browser/browser_main.cc (working copy)
@@ -601,11 +601,14 @@
// Note that this be done _after_ the PrefService is initialized and all
// preferences are registered, since some of the code that the importer
// touches reads preferences.
- if (is_first_run && !first_run_ui_bypass) {
- if (!OpenFirstRunDialog(profile, &process_singleton)) {
- // The user cancelled the first run dialog box, we should exit Chrome.
- return ResultCodes::NORMAL_EXIT;
+ if (is_first_run) {
+ if (!first_run_ui_bypass) {
+ if (!OpenFirstRunDialog(profile, &process_singleton)) {
+ // The user cancelled the first run dialog box, we should exit Chrome.
+ return ResultCodes::NORMAL_EXIT;
+ }
}
+ Browser::SetNewHomePagePrefs(user_prefs);
}
// Sets things up so that if we crash from this point on, a dialog will
Property changes on: chrome\browser\browser_main.cc
___________________________________________________________________
Modified: svn:mergeinfo
Merged /trunk/src/chrome/browser/browser_main.cc:r24736
« no previous file with comments | « chrome/browser/browser.cc ('k') | chrome/browser/google_url_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698