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

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

Issue 18316002: Move URLRequestContextGetter to RequestSender in c/b/google_apis. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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/google_apis/request_sender.h
diff --git a/chrome/browser/google_apis/request_sender.h b/chrome/browser/google_apis/request_sender.h
index b9f03018338aadd0be26f3831937e18e7e27d9c3..f20c394a4df582f55f3a208aba10e87053fe6db9 100644
--- a/chrome/browser/google_apis/request_sender.h
+++ b/chrome/browser/google_apis/request_sender.h
@@ -46,6 +46,10 @@ class RequestSender {
AuthService* auth_service() { return auth_service_.get(); }
+ net::URLRequestContextGetter* url_request_context_getter() const {
+ return url_request_context_getter_;
+ }
+
// Prepares the object for use.
virtual void Initialize();
@@ -80,6 +84,7 @@ class RequestSender {
const base::WeakPtr<AuthenticatedRequestInterface>& request);
Profile* profile_; // Not owned.
+ net::URLRequestContextGetter* url_request_context_getter_; // Not owned.
scoped_ptr<AuthService> auth_service_;
std::set<AuthenticatedRequestInterface*> in_flight_requests_;
« no previous file with comments | « chrome/browser/google_apis/gdata_wapi_requests_unittest.cc ('k') | chrome/browser/google_apis/request_sender.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698