diff options
author | kinaba@chromium.org <kinaba@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-22 12:43:00 +0000 |
---|---|---|
committer | kinaba@chromium.org <kinaba@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-22 12:43:00 +0000 |
commit | e70d98d66f19052f5abf3324f7094a2206887ba2 (patch) | |
tree | f4e5b179c8ff4d48f2027a114b1cfd9835ee0730 /chrome/browser/chromeos/contacts | |
parent | 80abf155a940e0276c58e7b29f9c7d293dca4847 (diff) | |
download | chromium_src-e70d98d66f19052f5abf3324f7094a2206887ba2.zip chromium_src-e70d98d66f19052f5abf3324f7094a2206887ba2.tar.gz chromium_src-e70d98d66f19052f5abf3324f7094a2206887ba2.tar.bz2 |
Replace most of the occurrence of OperationRegistry with OperationRunner.
This is a preparation for OperationRegistry removal.
Each operation will interact directly with OperationRunner.
BUG=164098
Review URL: https://chromiumcodereview.appspot.com/15333013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201495 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos/contacts')
-rw-r--r-- | chrome/browser/chromeos/contacts/gdata_contacts_service.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/chromeos/contacts/gdata_contacts_service.cc b/chrome/browser/chromeos/contacts/gdata_contacts_service.cc index 8441ad7..1f22cc9 100644 --- a/chrome/browser/chromeos/contacts/gdata_contacts_service.cc +++ b/chrome/browser/chromeos/contacts/gdata_contacts_service.cc @@ -480,7 +480,7 @@ class GDataContactsService::DownloadContactsRequest { } else { google_apis::GetContactGroupsOperation* operation = new google_apis::GetContactGroupsOperation( - runner_->operation_registry(), + runner_, url_request_context_getter_, base::Bind(&DownloadContactsRequest::HandleGroupsFeedData, weak_ptr_factory_.GetWeakPtr())); @@ -588,7 +588,7 @@ class GDataContactsService::DownloadContactsRequest { DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); google_apis::GetContactsOperation* operation = new google_apis::GetContactsOperation( - runner_->operation_registry(), + runner_, url_request_context_getter_, my_contacts_group_id_, min_update_time_, @@ -745,7 +745,7 @@ class GDataContactsService::DownloadContactsRequest { << contact->contact_id(); runner_->StartOperationWithRetry( new google_apis::GetContactPhotoOperation( - runner_->operation_registry(), + runner_, url_request_context_getter_, GURL(url), base::Bind(&DownloadContactsRequest::HandlePhotoData, |