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

Unified Diff: chrome/browser/ui/webui/options/chromeos/accounts_options_handler.cc

Issue 398753004: [cros] Move User class to user_manager component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 5 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
Index: chrome/browser/ui/webui/options/chromeos/accounts_options_handler.cc
diff --git a/chrome/browser/ui/webui/options/chromeos/accounts_options_handler.cc b/chrome/browser/ui/webui/options/chromeos/accounts_options_handler.cc
index 956b0583c63c114e602a02da4e0c8e82da640c3c..856945f6b0d9a1634df96692a9750f9b81cf0c87 100644
--- a/chrome/browser/ui/webui/options/chromeos/accounts_options_handler.cc
+++ b/chrome/browser/ui/webui/options/chromeos/accounts_options_handler.cc
@@ -134,8 +134,10 @@ void AccountsOptionsHandler::HandleWhitelistExistingUsers(
else
new_list.reset(new base::ListValue);
- const UserList& users = UserManager::Get()->GetUsers();
- for (UserList::const_iterator it = users.begin(); it < users.end(); ++it)
+ const user_manager::UserList& users = UserManager::Get()->GetUsers();
+ for (user_manager::UserList::const_iterator it = users.begin();
+ it < users.end();
+ ++it)
new_list->AppendIfNotPresent(new base::StringValue((*it)->email()));
cros_settings->Set(kAccountsPrefUsers, *new_list.get());

Powered by Google App Engine
This is Rietveld 408576698