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

Unified Diff: chrome/browser/ui/startup/startup_browser_creator_impl.cc

Issue 1312693005: Remove migration of obsolete value for "session.restore_on_startup". (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@url-to-restore-on-startup
Patch Set: Remove unused free function Created 5 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
Index: chrome/browser/ui/startup/startup_browser_creator_impl.cc
diff --git a/chrome/browser/ui/startup/startup_browser_creator_impl.cc b/chrome/browser/ui/startup/startup_browser_creator_impl.cc
index ecbc5dc81b1829f603ecab69608efbbcdea3efe3..381a078f02e8aa14c4899efbd34ee2b280dd62a5 100644
--- a/chrome/browser/ui/startup/startup_browser_creator_impl.cc
+++ b/chrome/browser/ui/startup/startup_browser_creator_impl.cc
@@ -684,10 +684,6 @@ Browser* StartupBrowserCreatorImpl::ProcessSpecifiedURLs(
// specified on the command line. Filter out any urls that are to be
// restored by virtue of having been previously pinned.
AddUniqueURLs(pref.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 (tabs.empty())

Powered by Google App Engine
This is Rietveld 408576698