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

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

Issue 17415007: Get rid of RequestRegistry (part 3): remove Drive path from request objects. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Created 7 years, 6 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/drive/gdata_wapi_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/drive/drive_api_service.cc
diff --git a/chrome/browser/drive/drive_api_service.cc b/chrome/browser/drive/drive_api_service.cc
index 85f7a8acd5b7f6fb506d03688c49df6753daff86..f52cb605bd7b92362911089d47d8e039b69870f8 100644
--- a/chrome/browser/drive/drive_api_service.cc
+++ b/chrome/browser/drive/drive_api_service.cc
@@ -454,7 +454,6 @@ CancelCallback DriveAPIService::DownloadFile(
get_content_callback,
progress_callback,
download_url,
- virtual_path,
local_cache_path));
}
@@ -614,7 +613,6 @@ CancelCallback DriveAPIService::InitiateUploadNewFile(
sender_.get(),
url_request_context_getter_,
url_generator_,
- drive_file_path,
content_type,
content_length,
parent_resource_id,
@@ -637,7 +635,6 @@ CancelCallback DriveAPIService::InitiateUploadExistingFile(
sender_.get(),
url_request_context_getter_,
url_generator_,
- drive_file_path,
content_type,
content_length,
resource_id,
@@ -662,7 +659,6 @@ CancelCallback DriveAPIService::ResumeUpload(
new drive::ResumeUploadRequest(
sender_.get(),
url_request_context_getter_,
- drive_file_path,
upload_url,
start_position,
end_position,
@@ -684,7 +680,6 @@ CancelCallback DriveAPIService::GetUploadStatus(
return sender_->StartRequestWithRetry(new drive::GetUploadStatusRequest(
sender_.get(),
url_request_context_getter_,
- drive_file_path,
upload_url,
content_length,
base::Bind(&ParseResourceEntryForUploadRangeAndRun, callback)));
« no previous file with comments | « no previous file | chrome/browser/drive/gdata_wapi_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698