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

Unified Diff: chrome/browser/google_apis/auth_service.h

Issue 19511002: Change google_api::RequestSender to take an AuthService instead of a Profile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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
« no previous file with comments | « chrome/browser/google_apis/DEPS ('k') | chrome/browser/google_apis/auth_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/google_apis/auth_service.h
diff --git a/chrome/browser/google_apis/auth_service.h b/chrome/browser/google_apis/auth_service.h
index 8f47ecd47908def4eae2d131d06a35267c6ce350..a5647a7bc1cd6948a70dd3d7b4f6d70d653628fd 100644
--- a/chrome/browser/google_apis/auth_service.h
+++ b/chrome/browser/google_apis/auth_service.h
@@ -37,14 +37,14 @@ class AuthService : public AuthServiceInterface,
// URLFetcher.
//
// |scopes| specifies OAuth2 scopes.
- AuthService(net::URLRequestContextGetter* url_request_context_getter,
+ AuthService(Profile* profile,
+ net::URLRequestContextGetter* url_request_context_getter,
const std::vector<std::string>& scopes);
virtual ~AuthService();
// Overriden from AuthServiceInterface:
virtual void AddObserver(AuthServiceObserver* observer) OVERRIDE;
virtual void RemoveObserver(AuthServiceObserver* observer) OVERRIDE;
- virtual void Initialize(Profile* profile) OVERRIDE;
virtual void StartAuthentication(const AuthStatusCallback& callback) OVERRIDE;
virtual bool HasAccessToken() const OVERRIDE;
virtual bool HasRefreshToken() const OVERRIDE;
« no previous file with comments | « chrome/browser/google_apis/DEPS ('k') | chrome/browser/google_apis/auth_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698