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 ee137a63f671d94410b5744d6278306e13b7ed4f..325916ae94e767421bf9f689d2b6d3e7d2928f91 100644 |
| --- a/chrome/browser/chromeos/login/session/user_session_manager.cc |
| +++ b/chrome/browser/chromeos/login/session/user_session_manager.cc |
| @@ -996,26 +996,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/11/27 16:25:47
Nit: This comment should not be removed.
|
| - } else if (!user_manager->IsLoggedInAsPublicAccount()) { |
| + if (!user_manager->IsLoggedInAsPublicAccount()) { |
| if (AccessibilityManager::Get()->IsSpokenFeedbackEnabled()) { |
| const char* url = kChromeVoxTutorialURLPattern; |
| PrefService* prefs = g_browser_process->local_state(); |