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

Unified Diff: chrome/browser/chromeos/drive/drive_api_service.cc

Issue 11799003: Add DriveApiUrlGenerator. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Add comments about no DISALLOW_COPY_AND_ASSIGN. Created 7 years, 11 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/chromeos/drive/drive_api_service.cc
diff --git a/chrome/browser/chromeos/drive/drive_api_service.cc b/chrome/browser/chromeos/drive/drive_api_service.cc
index 27abaf1d3ea29446ff8a7b6fe38c0914346c3865..18348fa2efd921fed6a9219ce22d96079c73fc53 100644
--- a/chrome/browser/chromeos/drive/drive_api_service.cc
+++ b/chrome/browser/chromeos/drive/drive_api_service.cc
@@ -218,6 +218,7 @@ void DriveAPIService::GetFilelist(
new google_apis::GetFilelistOperation(
operation_registry(),
url_request_context_getter_,
+ url_generator_,
url,
search_query,
base::Bind(&ParseResourceListAndRun, callback)));
@@ -234,6 +235,7 @@ void DriveAPIService::GetChangelist(
new google_apis::GetChangelistOperation(
operation_registry(),
url_request_context_getter_,
+ url_generator_,
url,
start_changestamp,
base::Bind(&ParseResourceListAndRun, callback)));
@@ -248,6 +250,7 @@ void DriveAPIService::GetResourceEntry(
runner_->StartOperationWithRetry(new google_apis::GetFileOperation(
operation_registry(),
url_request_context_getter_,
+ url_generator_,
resource_id,
base::Bind(&ParseResourceEntryAndRun, callback)));
}
@@ -261,6 +264,7 @@ void DriveAPIService::GetAccountMetadata(
new google_apis::GetAboutOperation(
operation_registry(),
url_request_context_getter_,
+ url_generator_,
base::Bind(&ParseAccounetMetadataAndRun, callback)));
}
@@ -272,6 +276,7 @@ void DriveAPIService::GetApplicationInfo(
runner_->StartOperationWithRetry(
new google_apis::GetApplistOperation(operation_registry(),
url_request_context_getter_,
+ url_generator_,
callback));
}
« no previous file with comments | « chrome/browser/chromeos/drive/drive_api_service.h ('k') | chrome/browser/google_apis/drive_api_operations.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698