| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h" | 5 #include "chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h" |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "base/stringprintf.h" | 8 #include "base/stringprintf.h" |
| 9 #include "base/task.h" | 9 #include "base/task.h" |
| 10 #include "base/values.h" | 10 #include "base/values.h" |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 localized_strings->SetString("addUser", | 151 localized_strings->SetString("addUser", |
| 152 l10n_util::GetStringUTF16(IDS_ADD_USER_BUTTON)); | 152 l10n_util::GetStringUTF16(IDS_ADD_USER_BUTTON)); |
| 153 localized_strings->SetString("cancel", | 153 localized_strings->SetString("cancel", |
| 154 l10n_util::GetStringUTF16(IDS_CANCEL)); | 154 l10n_util::GetStringUTF16(IDS_CANCEL)); |
| 155 localized_strings->SetString("addUserOfflineMessage", | 155 localized_strings->SetString("addUserOfflineMessage", |
| 156 l10n_util::GetStringUTF16(IDS_LOGIN_ERROR_ADD_USER_OFFLINE)); | 156 l10n_util::GetStringUTF16(IDS_LOGIN_ERROR_ADD_USER_OFFLINE)); |
| 157 localized_strings->SetString("offlineMessageTitle", | 157 localized_strings->SetString("offlineMessageTitle", |
| 158 l10n_util::GetStringUTF16(IDS_LOGIN_OFFLINE_TITLE)); | 158 l10n_util::GetStringUTF16(IDS_LOGIN_OFFLINE_TITLE)); |
| 159 localized_strings->SetString("offlineMessageBody", | 159 localized_strings->SetString("offlineMessageBody", |
| 160 l10n_util::GetStringUTF16(IDS_LOGIN_OFFLINE_MESSAGE)); | 160 l10n_util::GetStringUTF16(IDS_LOGIN_OFFLINE_MESSAGE)); |
| 161 localized_strings->SetString("captivePortalMessage", |
| 162 l10n_util::GetStringUTF16(IDS_LOGIN_MAYBE_CAPTIVE_PORTAL)); |
| 161 localized_strings->SetString("createAccount", | 163 localized_strings->SetString("createAccount", |
| 162 l10n_util::GetStringUTF16(IDS_CREATE_ACCOUNT_BUTTON)); | 164 l10n_util::GetStringUTF16(IDS_CREATE_ACCOUNT_BUTTON)); |
| 163 localized_strings->SetString("guestSignin", | 165 localized_strings->SetString("guestSignin", |
| 164 l10n_util::GetStringUTF16(IDS_BROWSE_WITHOUT_SIGNING_IN_BUTTON)); | 166 l10n_util::GetStringUTF16(IDS_BROWSE_WITHOUT_SIGNING_IN_BUTTON)); |
| 165 localized_strings->SetString("removeUser", | 167 localized_strings->SetString("removeUser", |
| 166 l10n_util::GetStringUTF16(IDS_LOGIN_REMOVE)); | 168 l10n_util::GetStringUTF16(IDS_LOGIN_REMOVE)); |
| 167 | 169 |
| 168 if (extension_driven_) | 170 if (extension_driven_) |
| 169 localized_strings->SetString("authType", "ext"); | 171 localized_strings->SetString("authType", "ext"); |
| 170 else | 172 else |
| (...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 458 BrowsingDataRemover* remover = new BrowsingDataRemover( | 460 BrowsingDataRemover* remover = new BrowsingDataRemover( |
| 459 Profile::FromBrowserContext(web_ui_->tab_contents()->browser_context()), | 461 Profile::FromBrowserContext(web_ui_->tab_contents()->browser_context()), |
| 460 BrowsingDataRemover::EVERYTHING, | 462 BrowsingDataRemover::EVERYTHING, |
| 461 base::Time()); | 463 base::Time()); |
| 462 remover->AddObserver(this); | 464 remover->AddObserver(this); |
| 463 remover->Remove(BrowsingDataRemover::REMOVE_COOKIES | | 465 remover->Remove(BrowsingDataRemover::REMOVE_COOKIES | |
| 464 BrowsingDataRemover::REMOVE_LSO_DATA); | 466 BrowsingDataRemover::REMOVE_LSO_DATA); |
| 465 } | 467 } |
| 466 | 468 |
| 467 } // namespace chromeos | 469 } // namespace chromeos |
| OLD | NEW |