Index: chrome/browser/chromeos/login/online_attempt_host.h |
diff --git a/chrome/browser/chromeos/login/online_attempt_host.h b/chrome/browser/chromeos/login/online_attempt_host.h |
index 4ea8917402ef981e94e8c58d1cce4653ef4c9e22..9e6c7544f580d18b6444cfaa1df08178f9fc2874 100644 |
--- a/chrome/browser/chromeos/login/online_attempt_host.h |
+++ b/chrome/browser/chromeos/login/online_attempt_host.h |
@@ -17,6 +17,7 @@ namespace chromeos { |
class AuthAttemptState; |
class OnlineAttempt; |
+struct UserCredentials; |
// Helper class which hosts OnlineAttempt for online credentials checking. |
class OnlineAttemptHost : public AuthAttemptStateResolver { |
@@ -35,8 +36,7 @@ class OnlineAttemptHost : public AuthAttemptStateResolver { |
// a time (the newest call stops the old one, if called with another username |
// and password combination). |
void Check(Profile* profile, |
- const std::string &username, |
- const std::string &password); |
+ const UserCredentials& credentials); |
// Resets the checking process. |
void Reset(); |