Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5646)

Unified Diff: chrome/browser/chromeos/login/auth/online_attempt_host.h

Issue 292663018: [cros login] Cleanup: replace some of Profile usages with BrowserContext. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add missing include, fix ProxySettingsDialog ctor Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/login/auth/online_attempt_host.h
diff --git a/chrome/browser/chromeos/login/auth/online_attempt_host.h b/chrome/browser/chromeos/login/auth/online_attempt_host.h
index cad428f16bbaa3d185a48dd4b36297c5bfcab5a9..d797d15a476482e7017c9b88b60ed4668036b584 100644
--- a/chrome/browser/chromeos/login/auth/online_attempt_host.h
+++ b/chrome/browser/chromeos/login/auth/online_attempt_host.h
@@ -12,7 +12,9 @@
#include "base/memory/weak_ptr.h"
#include "chrome/browser/chromeos/login/auth/auth_attempt_state_resolver.h"
-class Profile;
+namespace content {
+class BrowserContext;
+}
namespace chromeos {
@@ -36,7 +38,8 @@ class OnlineAttemptHost : public AuthAttemptStateResolver {
// check result (whether authentication was successful). Note, only one
// checking at a time (the newest call stops the old one, if called with
// another username and password combination).
- void Check(Profile* profile, const UserContext& user_context);
+ void Check(content::BrowserContext* auth_context,
+ const UserContext& user_context);
// Resets the checking process.
void Reset();
« no previous file with comments | « chrome/browser/chromeos/login/auth/online_attempt.cc ('k') | chrome/browser/chromeos/login/auth/online_attempt_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698