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

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: Change comment for kRestoreOnStartup Created 5 years 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 98cb2c42790b45ac27acb281bb1d584ea51e9fc1..f5ab94c1c41513b468895a9f10864e88e041b10c 100644
--- a/chrome/browser/ui/startup/startup_browser_creator_impl.cc
+++ b/chrome/browser/ui/startup/startup_browser_creator_impl.cc
@@ -681,10 +681,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