From 13dbb18d76e31092b84223e838d4b3b1a10ff999 Mon Sep 17 00:00:00 2001 From: "hidehiko@chromium.org" Date: Wed, 6 Feb 2013 16:15:23 +0000 Subject: 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 --- chrome/browser/google_apis/gdata_wapi_service.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (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 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( -- cgit v1.1