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

Unified Diff: chrome/browser/chromeos/login/ui/webui_login_display.h

Issue 1494153002: This CL replaces e-mail with AccountId in easy signin code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update after review. Created 5 years 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/ui/webui_login_display.h
diff --git a/chrome/browser/chromeos/login/ui/webui_login_display.h b/chrome/browser/chromeos/login/ui/webui_login_display.h
index 3dc8c90deff1e2c4d626085cbac3b24d00b298c4..f378fb3781ba0475aa51b77677c0e195ea72961c 100644
--- a/chrome/browser/chromeos/login/ui/webui_login_display.h
+++ b/chrome/browser/chromeos/login/ui/webui_login_display.h
@@ -81,7 +81,7 @@ class WebUILoginDisplay : public LoginDisplay,
void HandleGetUsers() override;
void CheckUserStatus(const AccountId& account_id) override;
- bool IsUserWhitelisted(const std::string& user_id) override;
+ bool IsUserWhitelisted(const AccountId& account_id) override;
// ui::UserActivityDetector implementation:
void OnUserActivity(const ui::Event* event) override;
@@ -89,14 +89,14 @@ class WebUILoginDisplay : public LoginDisplay,
private:
// Whether to show guest login.
- bool show_guest_;
+ bool show_guest_ = false;
// Weather to show the user pods or a GAIA sign in.
// Public sessions are always shown.
- bool show_users_;
+ bool show_users_ = false;
// Whether to show add new user.
- bool show_new_user_;
+ bool show_new_user_ = false;
// Reference to the WebUI handling layer for the login screen
LoginDisplayWebUIHandler* webui_handler_;

Powered by Google App Engine
This is Rietveld 408576698