| Index: chrome/browser/chromeos/login/users/user.h
|
| diff --git a/chrome/browser/chromeos/login/users/user.h b/chrome/browser/chromeos/login/users/user.h
|
| index a3c7be85ae4d4a0d6c8a78f31a862277ccbae883..65ec5e54798f0658b6fdad2c548aaa024263d870 100644
|
| --- a/chrome/browser/chromeos/login/users/user.h
|
| +++ b/chrome/browser/chromeos/login/users/user.h
|
| @@ -36,23 +36,11 @@ class UserContext {
|
| };
|
|
|
| UserContext();
|
| - UserContext(const std::string& user_id,
|
| - const std::string& password,
|
| - const std::string& auth_code);
|
| - UserContext(const std::string& user_id,
|
| - const std::string& password,
|
| - const std::string& auth_code,
|
| - const std::string& user_id_hash);
|
| - UserContext(const std::string& user_id,
|
| - const std::string& password,
|
| - const std::string& auth_code,
|
| - const std::string& user_id_hash,
|
| - bool is_using_oauth,
|
| - AuthFlow auth_flow);
|
| + UserContext(const UserContext& other);
|
| + explicit UserContext(const std::string& user_id);
|
| ~UserContext();
|
| - bool operator==(const UserContext& context) const;
|
|
|
| - void CopyFrom(const UserContext& other);
|
| + bool operator==(const UserContext& context) const;
|
|
|
| const std::string& GetUserID() const;
|
| const std::string& GetPassword() const;
|
| @@ -72,6 +60,9 @@ class UserContext {
|
| void SetAuthCode(const std::string& auth_code);
|
| void SetUserIDHash(const std::string& user_id_hash);
|
| void SetIsUsingOAuth(bool is_using_oauth);
|
| + void SetAuthFlow(AuthFlow auth_flow);
|
| +
|
| + void ClearSecrets();
|
|
|
| private:
|
| std::string user_id_;
|
|
|