Index: chrome/browser/chromeos/login/auth/online_attempt_host.cc |
diff --git a/chrome/browser/chromeos/login/auth/online_attempt_host.cc b/chrome/browser/chromeos/login/auth/online_attempt_host.cc |
index 802e2e3682c72bf73353675875b8c01bc2ff068f..6a88b76c5de5927a27c4b7b003275362afb004c5 100644 |
--- a/chrome/browser/chromeos/login/auth/online_attempt_host.cc |
+++ b/chrome/browser/chromeos/login/auth/online_attempt_host.cc |
@@ -10,7 +10,7 @@ |
#include "chrome/browser/chromeos/login/auth/online_attempt.h" |
#include "chrome/browser/chromeos/login/auth/user_context.h" |
#include "chrome/browser/chromeos/login/users/user.h" |
-#include "chrome/browser/profiles/profile.h" |
+#include "content/public/browser/browser_context.h" |
#include "content/public/browser/browser_thread.h" |
namespace chromeos { |
@@ -22,7 +22,7 @@ OnlineAttemptHost::~OnlineAttemptHost() { |
Reset(); |
} |
-void OnlineAttemptHost::Check(Profile* profile, |
+void OnlineAttemptHost::Check(content::BrowserContext* auth_context, |
const UserContext& user_context) { |
DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI)); |
std::string attempt_hash = base::SHA1HashString( |
@@ -38,7 +38,7 @@ void OnlineAttemptHost::Check(Profile* profile, |
false, // online_complete |
false)); // user_is_new |
online_attempt_.reset(new OnlineAttempt(state_.get(), this)); |
- online_attempt_->Initiate(profile); |
+ online_attempt_->Initiate(auth_context); |
} |
} |