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

Unified Diff: chrome/browser/chromeos/login/policy_oauth_fetcher.h

Issue 11649055: OAuth2 sign-in flow for ChromeOS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: clang fix Created 7 years, 11 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/policy_oauth_fetcher.h
diff --git a/chrome/browser/chromeos/login/policy_oauth_fetcher.h b/chrome/browser/chromeos/login/policy_oauth_fetcher.h
index 6de5e44de6789920e2be51ac108dc0d9604f5b02..8fc2c2471b1421d202dde55d6a2f08dae55010e7 100644
--- a/chrome/browser/chromeos/login/policy_oauth_fetcher.h
+++ b/chrome/browser/chromeos/login/policy_oauth_fetcher.h
@@ -12,7 +12,9 @@
#include "chrome/browser/net/gaia/gaia_oauth_consumer.h"
#include "chrome/browser/net/gaia/gaia_oauth_fetcher.h"
-class Profile;
+namespace net {
+class URLRequestContextGetter;
+}
namespace chromeos {
@@ -25,12 +27,12 @@ class PolicyOAuthFetcher : public GaiaOAuthConsumer {
public:
// Fetches the device management service's oauth token using |oauth1_token|
// and |oauth1_secret| as access tokens.
- PolicyOAuthFetcher(Profile* profile,
+ PolicyOAuthFetcher(net::URLRequestContextGetter* context_getter,
const std::string& oauth1_token,
const std::string& oauth1_secret);
// Fetches the device management service's oauth token, after also retrieving
// the access tokens.
- explicit PolicyOAuthFetcher(Profile* profile);
+ explicit PolicyOAuthFetcher(net::URLRequestContextGetter* context_getter);
virtual ~PolicyOAuthFetcher();
void Start();

Powered by Google App Engine
This is Rietveld 408576698