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

Unified Diff: chrome/browser/google_apis/gdata_wapi_requests.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
Index: chrome/browser/google_apis/gdata_wapi_requests.cc
diff --git a/chrome/browser/google_apis/gdata_wapi_requests.cc b/chrome/browser/google_apis/gdata_wapi_requests.cc
index d479f1457c0e446745c992a4b0661b05da10496e..faa774ad169ca5f1b3b32119c42ebc549c9641cd 100644
--- a/chrome/browser/google_apis/gdata_wapi_requests.cc
+++ b/chrome/browser/google_apis/gdata_wapi_requests.cc
@@ -576,7 +576,6 @@ InitiateUploadNewFileRequest::InitiateUploadNewFileRequest(
net::URLRequestContextGetter* url_request_context_getter,
const GDataWapiUrlGenerator& url_generator,
const InitiateUploadCallback& callback,
- const base::FilePath& drive_file_path,
const std::string& content_type,
int64 content_length,
const std::string& parent_resource_id,
@@ -584,7 +583,6 @@ InitiateUploadNewFileRequest::InitiateUploadNewFileRequest(
: InitiateUploadRequestBase(runner,
url_request_context_getter,
callback,
- drive_file_path,
content_type,
content_length),
url_generator_(url_generator),
@@ -629,7 +627,6 @@ InitiateUploadExistingFileRequest::InitiateUploadExistingFileRequest(
net::URLRequestContextGetter* url_request_context_getter,
const GDataWapiUrlGenerator& url_generator,
const InitiateUploadCallback& callback,
- const base::FilePath& drive_file_path,
const std::string& content_type,
int64 content_length,
const std::string& resource_id,
@@ -637,7 +634,6 @@ InitiateUploadExistingFileRequest::InitiateUploadExistingFileRequest(
: InitiateUploadRequestBase(runner,
url_request_context_getter,
callback,
- drive_file_path,
content_type,
content_length),
url_generator_(url_generator),
@@ -683,7 +679,6 @@ ResumeUploadRequest::ResumeUploadRequest(
net::URLRequestContextGetter* url_request_context_getter,
const UploadRangeCallback& callback,
const ProgressCallback& progress_callback,
- const base::FilePath& drive_file_path,
const GURL& upload_location,
int64 start_position,
int64 end_position,
@@ -692,7 +687,6 @@ ResumeUploadRequest::ResumeUploadRequest(
const base::FilePath& local_file_path)
: ResumeUploadRequestBase(runner,
url_request_context_getter,
- drive_file_path,
upload_location,
start_position,
end_position,
@@ -723,12 +717,10 @@ GetUploadStatusRequest::GetUploadStatusRequest(
RequestSender* runner,
net::URLRequestContextGetter* url_request_context_getter,
const UploadRangeCallback& callback,
- const base::FilePath& drive_file_path,
const GURL& upload_url,
int64 content_length)
: GetUploadStatusRequestBase(runner,
url_request_context_getter,
- drive_file_path,
upload_url,
content_length),
callback_(callback) {
« no previous file with comments | « chrome/browser/google_apis/gdata_wapi_requests.h ('k') | chrome/browser/google_apis/gdata_wapi_requests_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698