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

Unified Diff: chrome/browser/google_apis/gdata_contacts_operations.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
Index: chrome/browser/google_apis/gdata_contacts_operations.cc
diff --git a/chrome/browser/google_apis/gdata_contacts_operations.cc b/chrome/browser/google_apis/gdata_contacts_operations.cc
index c5fb77daacd37bf41b2423e49656024865bb81b0..9362d36b97020f882f488c77d0a9e8bc1e9dc071 100644
--- a/chrome/browser/google_apis/gdata_contacts_operations.cc
+++ b/chrome/browser/google_apis/gdata_contacts_operations.cc
@@ -37,10 +37,10 @@ const char kGetContactsUpdatedMinParam[] = "updated-min";
//========================== GetContactGroupsOperation =========================
GetContactGroupsOperation::GetContactGroupsOperation(
- OperationRegistry* registry,
+ OperationRunner* runner,
net::URLRequestContextGetter* url_request_context_getter,
const GetDataCallback& callback)
- : GetDataOperation(registry, url_request_context_getter, callback) {
+ : GetDataOperation(runner, url_request_context_getter, callback) {
}
GetContactGroupsOperation::~GetContactGroupsOperation() {}
@@ -54,12 +54,12 @@ GURL GetContactGroupsOperation::GetURL() const {
//============================ GetContactsOperation ============================
GetContactsOperation::GetContactsOperation(
- OperationRegistry* registry,
+ OperationRunner* runner,
net::URLRequestContextGetter* url_request_context_getter,
const std::string& group_id,
const base::Time& min_update_time,
const GetDataCallback& callback)
- : GetDataOperation(registry, url_request_context_getter, callback),
+ : GetDataOperation(runner, url_request_context_getter, callback),
group_id_(group_id),
min_update_time_(min_update_time) {
}
@@ -86,11 +86,11 @@ GURL GetContactsOperation::GetURL() const {
//========================== GetContactPhotoOperation ==========================
GetContactPhotoOperation::GetContactPhotoOperation(
- OperationRegistry* registry,
+ OperationRunner* runner,
net::URLRequestContextGetter* url_request_context_getter,
const GURL& photo_url,
const GetContentCallback& callback)
- : UrlFetchOperationBase(registry, url_request_context_getter),
+ : UrlFetchOperationBase(runner, url_request_context_getter),
photo_url_(photo_url),
callback_(callback) {
}
« no previous file with comments | « chrome/browser/google_apis/gdata_contacts_operations.h ('k') | chrome/browser/google_apis/gdata_wapi_operations.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698