| Index: chromeos/login/auth/user_context.cc
|
| diff --git a/chromeos/login/auth/user_context.cc b/chromeos/login/auth/user_context.cc
|
| index d82ae5af3aa382b9b587ced4ec89943828077fcc..0791822e30a272a3e910be347363f9e9d5302d24 100644
|
| --- a/chromeos/login/auth/user_context.cc
|
| +++ b/chromeos/login/auth/user_context.cc
|
| @@ -19,6 +19,7 @@ UserContext::UserContext(const UserContext& other)
|
| key_(other.key_),
|
| auth_code_(other.auth_code_),
|
| refresh_token_(other.refresh_token_),
|
| + access_token_(other.access_token_),
|
| user_id_hash_(other.user_id_hash_),
|
| is_using_oauth_(other.is_using_oauth_),
|
| auth_flow_(other.auth_flow_),
|
| @@ -89,6 +90,10 @@ const std::string& UserContext::GetRefreshToken() const {
|
| return refresh_token_;
|
| }
|
|
|
| +const std::string& UserContext::GetAccessToken() const {
|
| + return access_token_;
|
| +}
|
| +
|
| const std::string& UserContext::GetUserIDHash() const {
|
| return user_id_hash_;
|
| }
|
| @@ -142,6 +147,10 @@ void UserContext::SetRefreshToken(const std::string& refresh_token) {
|
| refresh_token_ = refresh_token;
|
| }
|
|
|
| +void UserContext::SetAccessToken(const std::string& access_token) {
|
| + access_token_ = access_token;
|
| +}
|
| +
|
| void UserContext::SetUserIDHash(const std::string& user_id_hash) {
|
| user_id_hash_ = user_id_hash;
|
| }
|
|
|