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

Unified Diff: chrome/browser/chromeos/contacts/gdata_contacts_service.cc

Issue 15333013: Replace most of the occurrence of OperationRegistry with OperationRunner. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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 | « no previous file | chrome/browser/google_apis/base_operations.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/contacts/gdata_contacts_service.cc
diff --git a/chrome/browser/chromeos/contacts/gdata_contacts_service.cc b/chrome/browser/chromeos/contacts/gdata_contacts_service.cc
index 8441ad74614d3193c7c73f9e0520aec26cdde7b7..1f22cc9460b0c37d6e7b6ba3fb1e71e66f1bc9fe 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,
« no previous file with comments | « no previous file | chrome/browser/google_apis/base_operations.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698