| Index: chromeos/login/auth/user_context.cc
|
| diff --git a/chromeos/login/auth/user_context.cc b/chromeos/login/auth/user_context.cc
|
| index 7eed5e08d7fad925222fca049e7823ec5ac4f6ef..b7f0ef2785137dd46dc45af8f3c9fb585e63653b 100644
|
| --- a/chromeos/login/auth/user_context.cc
|
| +++ b/chromeos/login/auth/user_context.cc
|
| @@ -17,6 +17,7 @@ UserContext::UserContext(const UserContext& other)
|
| access_token_(other.access_token_),
|
| user_id_hash_(other.user_id_hash_),
|
| is_using_oauth_(other.is_using_oauth_),
|
| + is_using_pin_(other.is_using_pin_),
|
| auth_flow_(other.auth_flow_),
|
| user_type_(other.user_type_),
|
| public_session_locale_(other.public_session_locale_),
|
| @@ -93,6 +94,10 @@ bool UserContext::IsUsingOAuth() const {
|
| return is_using_oauth_;
|
| }
|
|
|
| +bool UserContext::IsUsingPin() const {
|
| + return is_using_pin_;
|
| +}
|
| +
|
| UserContext::AuthFlow UserContext::GetAuthFlow() const {
|
| return auth_flow_;
|
| }
|
| @@ -150,6 +155,10 @@ void UserContext::SetIsUsingOAuth(bool is_using_oauth) {
|
| is_using_oauth_ = is_using_oauth;
|
| }
|
|
|
| +void UserContext::SetIsUsingPin(bool is_using_pin) {
|
| + is_using_pin_ = is_using_pin;
|
| +}
|
| +
|
| void UserContext::SetAuthFlow(AuthFlow auth_flow) {
|
| auth_flow_ = auth_flow;
|
| }
|
|
|