Index: chrome/browser/chromeos/login/auth/chrome_login_performer.h |
diff --git a/chrome/browser/chromeos/login/auth/chrome_login_performer.h b/chrome/browser/chromeos/login/auth/chrome_login_performer.h |
index a0b670c5ee68e3fc5e866cf90e1501d4e3b4e8a2..695805cb86f7296190590071244c396b6f2c5608 100644 |
--- a/chrome/browser/chromeos/login/auth/chrome_login_performer.h |
+++ b/chrome/browser/chromeos/login/auth/chrome_login_performer.h |
@@ -20,6 +20,8 @@ |
#include "content/public/browser/notification_registrar.h" |
#include "google_apis/gaia/google_service_auth_error.h" |
+class AccountId; |
+ |
namespace policy { |
class WildcardLoginChecker; |
} |
@@ -33,14 +35,14 @@ class ChromeLoginPerformer : public LoginPerformer { |
explicit ChromeLoginPerformer(Delegate* delegate); |
~ChromeLoginPerformer() override; |
- bool IsUserWhitelisted(const std::string& user_id, |
+ bool IsUserWhitelisted(const AccountId& account_id, |
bool* wildcard_match) override; |
protected: |
bool RunTrustedCheck(const base::Closure& callback) override; |
void DidRunTrustedCheck(const base::Closure& callback); |
- void RunOnlineWhitelistCheck(const std::string& user_id, |
+ void RunOnlineWhitelistCheck(const AccountId& account_id, |
bool wildcard_match, |
const std::string& refresh_token, |
const base::Closure& success_callback, |
@@ -52,12 +54,12 @@ class ChromeLoginPerformer : public LoginPerformer { |
UserContext TransformSupervisedKey(const UserContext& context) override; |
- void SetupSupervisedUserFlow(const std::string& user_id) override; |
+ void SetupSupervisedUserFlow(const AccountId& account_id) override; |
- void SetupEasyUnlockUserFlow(const std::string& user_id) override; |
+ void SetupEasyUnlockUserFlow(const AccountId& account_id) override; |
scoped_refptr<Authenticator> CreateAuthenticator() override; |
- bool CheckPolicyForUser(const std::string& user_id) override; |
+ bool CheckPolicyForUser(const AccountId& account_id) override; |
content::BrowserContext* GetSigninContext() override; |
net::URLRequestContextGetter* GetSigninRequestContext() override; |