summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/contacts/gdata_contacts_service.cc
diff options
context:
space:
mode:
authorsatorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-11 03:41:06 +0000
committersatorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-11 03:41:06 +0000
commit499c7fd28b97645052d01d2fae2b99be171756e8 (patch)
tree1ed525d43e5165ff543afed3a74c2ab5995afbc5 /chrome/browser/chromeos/contacts/gdata_contacts_service.cc
parent92e12dd96bfd76f49987127b4de1e224c2eee48a (diff)
downloadchromium_src-499c7fd28b97645052d01d2fae2b99be171756e8.zip
chromium_src-499c7fd28b97645052d01d2fae2b99be171756e8.tar.gz
chromium_src-499c7fd28b97645052d01d2fae2b99be171756e8.tar.bz2
google_apis: Inject a URLRequestContext to AuthService
Previously the system request context was used, but the resource context should be provided from client code. BUG=165072,146989 TEST=none Review URL: https://codereview.chromium.org/11497005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@172254 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos/contacts/gdata_contacts_service.cc')
-rw-r--r--chrome/browser/chromeos/contacts/gdata_contacts_service.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/chromeos/contacts/gdata_contacts_service.cc b/chrome/browser/chromeos/contacts/gdata_contacts_service.cc
index 24a7956..ceed274 100644
--- a/chrome/browser/chromeos/contacts/gdata_contacts_service.cc
+++ b/chrome/browser/chromeos/contacts/gdata_contacts_service.cc
@@ -864,6 +864,7 @@ GDataContactsService::GDataContactsService(
std::vector<std::string> scopes;
scopes.push_back(kContactsScope);
runner_.reset(new google_apis::OperationRunner(profile,
+ url_request_context_getter_,
scopes,
"" /* custom_user_agent */));
}