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

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

Issue 25076007: Remove obsolete special case for Retail mode start-up urls policy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/startup/startup_browser_creator.cc
diff --git a/chrome/browser/ui/startup/startup_browser_creator.cc b/chrome/browser/ui/startup/startup_browser_creator.cc
index 781b0890814c7d7bf4e7cda36c9a89258fdd7838..ce9a14cadeeadffd5b42b9a3b3637be6742b1f55 100644
--- a/chrome/browser/ui/startup/startup_browser_creator.cc
+++ b/chrome/browser/ui/startup/startup_browser_creator.cc
@@ -363,16 +363,6 @@ SessionStartupPref StartupBrowserCreator::GetSessionStartupPref(
pref.type = SessionStartupPref::DEFAULT;
}
-#if defined(OS_CHROMEOS)
- // Kiosk/Retail mode has no profile to restore and fails to open the tabs
- // specified in the startup_urls policy if we try to restore the non-existent
- // session which is the default for ChromeOS in general.
- if (chromeos::KioskModeSettings::Get()->IsKioskModeEnabled()) {
- DCHECK(pref.type == SessionStartupPref::LAST);
- pref.type = SessionStartupPref::DEFAULT;
- }
-#endif // OS_CHROMEOS
-
return pref;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698