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

Unified Diff: chrome/browser/chromeos/login/existing_user_controller.h

Issue 1693383003: ChromeOS cryptohome should be able to use gaia id as user identifier. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed unit tests. Created 4 years, 10 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/chromeos/login/existing_user_controller.h
diff --git a/chrome/browser/chromeos/login/existing_user_controller.h b/chrome/browser/chromeos/login/existing_user_controller.h
index 2d18cfe590dcecdb1a3805e00cc58e40e01fc5a5..c9dd991e9e535245d42f8358005431b8c1e4823e 100644
--- a/chrome/browser/chromeos/login/existing_user_controller.h
+++ b/chrome/browser/chromeos/login/existing_user_controller.h
@@ -26,6 +26,7 @@
#include "chrome/browser/chromeos/settings/device_settings_service.h"
#include "chromeos/login/auth/login_performer.h"
#include "chromeos/login/auth/user_context.h"
+#include "components/signin/core/account_id/account_id.h"
#include "components/user_manager/user.h"
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
@@ -256,8 +257,8 @@ class ExistingUserController : public LoginDisplay::Delegate,
// Public session auto-login timeout, in milliseconds.
int public_session_auto_login_delay_;
- // Username for public session auto-login.
- std::string public_session_auto_login_username_;
+ // AccountId for public session auto-login.
+ AccountId public_session_auto_login_account_id_ = EmptyAccountId();
// Used to execute login operations.
scoped_ptr<LoginPerformer> login_performer_;

Powered by Google App Engine
This is Rietveld 408576698