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

Unified Diff: chrome/browser/ui/browser_init.cc

Issue 10173007: Revert 133740 - Fix homepage migration for users who never changed their settings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 8 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/protector/protected_prefs_watcher.cc ('k') | chrome/common/pref_names.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser_init.cc
===================================================================
--- chrome/browser/ui/browser_init.cc (revision 133745)
+++ chrome/browser/ui/browser_init.cc (working copy)
@@ -1194,9 +1194,10 @@
UrlsToTabs(urls, &tabs);
} else if (pref.type == SessionStartupPref::HOMEPAGE) {
- // If 'homepage' selected, either by the user or by a policy, we should
- // have migrated them to another value.
- NOTREACHED() << "SessionStartupPref has deprecated type HOMEPAGE";
+ // If the user had 'homepage' selected, we should have migrated them to
+ // 'URLs' instead.
+ DLOG(ERROR) << "pref.type == HOMEPAGE";
+ NOTREACHED();
}
if (tabs.empty())
« no previous file with comments | « chrome/browser/protector/protected_prefs_watcher.cc ('k') | chrome/common/pref_names.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698