summaryrefslogtreecommitdiffstats
path: root/chrome/browser/google_apis/gdata_wapi_service.h
diff options
context:
space:
mode:
authorhidehiko@chromium.org <hidehiko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-06 16:15:23 +0000
committerhidehiko@chromium.org <hidehiko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-06 16:15:23 +0000
commit13dbb18d76e31092b84223e838d4b3b1a10ff999 (patch)
tree13ed1b2f95eafc990184d1eafdc25ebcdf60950f /chrome/browser/google_apis/gdata_wapi_service.h
parentbac1eba1e9bc16809c56f09a16aba11311423527 (diff)
downloadchromium_src-13dbb18d76e31092b84223e838d4b3b1a10ff999.zip
chromium_src-13dbb18d76e31092b84223e838d4b3b1a10ff999.tar.gz
chromium_src-13dbb18d76e31092b84223e838d4b3b1a10ff999.tar.bz2
Implement DownloadFile operation on Drive API v2.
By this CL, DriveApiService supports downloading a file. Unfortunately, the name of url for the downloading is different between on GData WAPI, where it is "content url", and on Drive API v2, where it is "download url". "Download URL" sounds a bit generic one, so this CL use it. BUG=148627 TEST=Ran unit_tests. Review URL: https://chromiumcodereview.appspot.com/12084108 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180979 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/google_apis/gdata_wapi_service.h')
-rw-r--r--chrome/browser/google_apis/gdata_wapi_service.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/google_apis/gdata_wapi_service.h b/chrome/browser/google_apis/gdata_wapi_service.h
index 8e627a1..1b9d93a 100644
--- a/chrome/browser/google_apis/gdata_wapi_service.h
+++ b/chrome/browser/google_apis/gdata_wapi_service.h
@@ -84,7 +84,7 @@ class GDataWapiService : public DriveServiceInterface,
virtual void DownloadFile(
const base::FilePath& virtual_path,
const base::FilePath& local_cache_path,
- const GURL& content_url,
+ const GURL& download_url,
const DownloadActionCallback& download_action_callback,
const GetContentCallback& get_content_callback) OVERRIDE;
virtual void CopyHostedDocument(