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 f23794bd8623d3bd597757e09cfded7615d85c66..7f4e6428ee376c8007f54bbaf6dda16167e9f64c 100644 |
--- a/chrome/browser/ui/startup/startup_browser_creator.cc |
+++ b/chrome/browser/ui/startup/startup_browser_creator.cc |
@@ -364,11 +364,9 @@ SessionStartupPref StartupBrowserCreator::GetSessionStartupPref( |
} |
#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. |
+ // Kiosk/Retail mode receives startup URLs through device settings. They are |
+ // appended to the command line, which requires type DEFAULT to work. |
if (chromeos::KioskModeSettings::Get()->IsKioskModeEnabled()) { |
pastarmovj
2013/09/27 15:48:25
No need for { }.
Mattias Nissler (ping if slow)
2013/09/27 15:52:13
Done.
|
- DCHECK(pref.type == SessionStartupPref::LAST); |
pref.type = SessionStartupPref::DEFAULT; |
} |
#endif // OS_CHROMEOS |