Chromium Code Reviews| Index: chrome/browser/chromeos/login/session/user_session_manager.cc |
| diff --git a/chrome/browser/chromeos/login/session/user_session_manager.cc b/chrome/browser/chromeos/login/session/user_session_manager.cc |
| index a66fe09e3151fa0fa33f3ed231abb0274c9da9d3..c9eb5b7f4cbe6ab7702c0e354e6de9e8f32a09ce 100644 |
| --- a/chrome/browser/chromeos/login/session/user_session_manager.cc |
| +++ b/chrome/browser/chromeos/login/session/user_session_manager.cc |
| @@ -999,26 +999,12 @@ void UserSessionManager::ActivateWizard(const std::string& screen_name) { |
| void UserSessionManager::InitializeStartUrls() const { |
| std::vector<std::string> start_urls; |
| - const base::ListValue *urls; |
| user_manager::UserManager* user_manager = user_manager::UserManager::Get(); |
| bool can_show_getstarted_guide = |
| user_manager->GetActiveUser()->GetType() == |
| user_manager::USER_TYPE_REGULAR && |
| !user_manager->IsCurrentUserNonCryptohomeDataEphemeral(); |
| - if (user_manager->IsLoggedInAsDemoUser()) { |
| - if (CrosSettings::Get()->GetList(kStartUpUrls, &urls)) { |
| - // The retail mode user will get start URLs from a special policy if it is |
| - // set. |
| - for (base::ListValue::const_iterator it = urls->begin(); |
| - it != urls->end(); ++it) { |
| - std::string url; |
| - if ((*it)->GetAsString(&url)) |
| - start_urls.push_back(url); |
| - } |
| - } |
| - can_show_getstarted_guide = false; |
| - // Skip the default first-run behavior for public accounts. |
|
bartfab (slow)
2014/12/02 21:25:27
Nit: Leave this comment in place please.
rkc
2014/12/04 19:50:06
Done.
|
| - } else if (!user_manager->IsLoggedInAsPublicAccount()) { |
| + if (!user_manager->IsLoggedInAsPublicAccount()) { |
| if (AccessibilityManager::Get()->IsSpokenFeedbackEnabled()) { |
| const char* url = kChromeVoxTutorialURLPattern; |
| PrefService* prefs = g_browser_process->local_state(); |