Chromium Code Reviews| Index: chrome/browser/chromeos/login/user.h |
| diff --git a/chrome/browser/chromeos/login/user.h b/chrome/browser/chromeos/login/user.h |
| index faf591395f62be3b96eadd8f61ae98df5b40ca8b..4d75b647a38a303f01a0f39302d323c3d3bd419f 100644 |
| --- a/chrome/browser/chromeos/login/user.h |
| +++ b/chrome/browser/chromeos/login/user.h |
| @@ -171,6 +171,8 @@ class User { |
| // OAuth token status for this user. |
| OAuthTokenStatus oauth_token_status() const { return oauth_token_status_; } |
| + bool force_online_signin() const { return force_online_signin_; } |
|
Nikita (slow)
2014/01/23 16:06:56
nit: Please add comment.
bartfab (slow)
2014/01/24 12:08:05
Done.
|
| + |
| // True if the user's session can be locked (i.e. the user has a password with |
| // which to unlock the session). |
| virtual bool can_lock() const; |
| @@ -239,6 +241,10 @@ class User { |
| oauth_token_status_ = status; |
| } |
| + void set_force_online_signin(bool force_online_signin) { |
| + force_online_signin_ = force_online_signin; |
| + } |
| + |
| void set_username_hash(const std::string& username_hash) { |
| username_hash_ = username_hash; |
| } |
| @@ -266,6 +272,7 @@ class User { |
| std::string display_email_; |
| UserImage user_image_; |
| OAuthTokenStatus oauth_token_status_; |
| + bool force_online_signin_; |
| // This is set to chromeos locale if account data has been downloaded. |
| // (Or failed to download, but at least one download attempt finished). |