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

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

Issue 11991002: Merge 176800 (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1364/src/
Patch Set: 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
===================================================================
--- chrome/browser/chromeos/login/policy_oauth_fetcher.h (revision 177312)
+++ chrome/browser/chromeos/login/policy_oauth_fetcher.h (working copy)
@@ -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 @@
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();
« no previous file with comments | « chrome/browser/chromeos/login/parallel_authenticator.cc ('k') | chrome/browser/chromeos/login/policy_oauth_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698