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

Unified Diff: chrome/browser/chromeos/login/oauth1_token_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/oauth1_token_fetcher.h
diff --git a/chrome/browser/chromeos/login/oauth1_token_fetcher.h b/chrome/browser/chromeos/login/oauth1_token_fetcher.h
index a9421c945c1ef377ef752a4db50fe659340e9991..a81c3ffa5c7635d6259eadaafa55e42cbeed9c94 100644
--- a/chrome/browser/chromeos/login/oauth1_token_fetcher.h
+++ b/chrome/browser/chromeos/login/oauth1_token_fetcher.h
@@ -13,7 +13,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 {
@@ -32,7 +34,7 @@ class OAuth1TokenFetcher : public base::SupportsWeakPtr<OAuth1TokenFetcher>,
};
OAuth1TokenFetcher(OAuth1TokenFetcher::Delegate* delegate,
- Profile* auth_profile);
+ net::URLRequestContextGetter* auth_context_getter);
virtual ~OAuth1TokenFetcher();
void Start();
@@ -54,7 +56,6 @@ class OAuth1TokenFetcher : public base::SupportsWeakPtr<OAuth1TokenFetcher>,
const GoogleServiceAuthError& error) OVERRIDE;
OAuth1TokenFetcher::Delegate* delegate_;
- Profile* auth_profile_;
GaiaOAuthFetcher oauth_fetcher_;
// The retry counter. Increment this only when failure happened.

Powered by Google App Engine
This is Rietveld 408576698