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

Unified Diff: chrome/browser/chromeos/login/screens/chrome_user_selection_screen.h

Issue 1454153002: Revert of This CL replaces e-mail with AccountId on user selection screen. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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/chromeos/login/screens/chrome_user_selection_screen.h
diff --git a/chrome/browser/chromeos/login/screens/chrome_user_selection_screen.h b/chrome/browser/chromeos/login/screens/chrome_user_selection_screen.h
index 11ab0d3fa064d4f953b3cbb6af5e67e9843642c1..e276911a1136baadd97a1ee5c4691b46335728b8 100644
--- a/chrome/browser/chromeos/login/screens/chrome_user_selection_screen.h
+++ b/chrome/browser/chromeos/login/screens/chrome_user_selection_screen.h
@@ -14,8 +14,6 @@
#include "base/memory/weak_ptr.h"
#include "chrome/browser/chromeos/login/screens/user_selection_screen.h"
#include "chrome/browser/chromeos/policy/device_local_account_policy_service.h"
-
-class AccountId;
namespace chromeos {
@@ -47,20 +45,20 @@
// Notify the UI that the display name for a public session has changed,
// taking the display name from the |User| owned by |UserManager|.
- void SetPublicSessionDisplayName(const AccountId& account_id);
+ void SetPublicSessionDisplayName(const std::string& user_id);
// Send an updated list of locales for a public session to the UI, consisting
// of the |recommended_locales| followed by all other available locales.
void SetPublicSessionLocales(
- const AccountId& account_id,
+ const std::string& user_id,
const std::vector<std::string>& recommended_locales);
bool handler_initialized_;
policy::DeviceLocalAccountPolicyService* device_local_account_policy_service_;
- // Map from public session account IDs to their display names set by policy.
- typedef std::map<AccountId, std::string> DisplayNamesMap;
+ // Map from public session user IDs to their display names set by policy.
+ typedef std::map<std::string, std::string> DisplayNamesMap;
DisplayNamesMap public_session_display_names_;
base::WeakPtrFactory<ChromeUserSelectionScreen> weak_factory_;

Powered by Google App Engine
This is Rietveld 408576698