From 611a4da72d803ed0772d6519326bd7e55a35ddf1 Mon Sep 17 00:00:00 2001 From: "hidehiko@chromium.org" Date: Wed, 15 May 2013 21:44:40 +0000 Subject: Remove google_apis::UploadMode. It was used to use for checking the http method, but now the code has been gone, and the enum value is only used for sanity check of succeess response code. We can simplify the response code handling, as it is done in DriveUploader. To return the correct response code from FakeDriveService, InitiateUpload methods will embed an original query parameter to upload_url. BUG=240996 TEST=Ran unit_tests Review URL: https://chromiumcodereview.appspot.com/14748008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200359 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/google_apis/gdata_wapi_service.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'chrome/browser/google_apis/gdata_wapi_service.h') diff --git a/chrome/browser/google_apis/gdata_wapi_service.h b/chrome/browser/google_apis/gdata_wapi_service.h index 36f4df1..e71373f 100644 --- a/chrome/browser/google_apis/gdata_wapi_service.h +++ b/chrome/browser/google_apis/gdata_wapi_service.h @@ -134,7 +134,6 @@ class GDataWapiService : public DriveServiceInterface, const std::string& etag, const InitiateUploadCallback& callback) OVERRIDE; virtual void ResumeUpload( - UploadMode upload_mode, const base::FilePath& drive_file_path, const GURL& upload_url, int64 start_position, @@ -145,7 +144,6 @@ class GDataWapiService : public DriveServiceInterface, const UploadRangeCallback& callback, const ProgressCallback& progress_callback) OVERRIDE; virtual void GetUploadStatus( - UploadMode upload_mode, const base::FilePath& drive_file_path, const GURL& upload_url, int64 content_length, -- cgit v1.1