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

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: Bugfix in original easy unlock code' 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 a06ac1cc0d4f1ecdf60ef38e01b9d8516f3779e2..de4fb8489d0e7aa3390a0af1f4ad0f7cfd9d7723 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,17 +89,17 @@ 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_;
+ LoginDisplayWebUIHandler* webui_handler_ = nullptr;
DISALLOW_COPY_AND_ASSIGN(WebUILoginDisplay);
};
« no previous file with comments | « chrome/browser/chromeos/login/ui/models/user_board_model.h ('k') | chrome/browser/chromeos/login/ui/webui_login_display.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698