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_; |