| Index: chrome/browser/chromeos/gdata/gdata_documents_service.h
|
| diff --git a/chrome/browser/chromeos/gdata/gdata_documents_service.h b/chrome/browser/chromeos/gdata/gdata_documents_service.h
|
| index 16fe078a28237290f83f1194739bf84d693d92c3..6cd4db33d4c50ce83ab885559cb3c0dcbd852b08 100644
|
| --- a/chrome/browser/chromeos/gdata/gdata_documents_service.h
|
| +++ b/chrome/browser/chromeos/gdata/gdata_documents_service.h
|
| @@ -97,6 +97,7 @@ class DocumentsServiceInterface {
|
| //
|
| // Can be called on any thread.
|
| virtual void DownloadDocument(const FilePath& virtual_path,
|
| + const FilePath& local_cache_path,
|
| const GURL& content_url,
|
| DocumentExportFormat format,
|
| const DownloadActionCallback& callback) = 0;
|
| @@ -153,11 +154,13 @@ class DocumentsServiceInterface {
|
| const FilePath::StringType& directory_name,
|
| const GetDataCallback& callback) = 0;
|
|
|
| - // Downloads a file identified by its |content_url|. Upon completion, invokes
|
| + // Downloads a file identified by its |content_url|. The downloaded file will
|
| + // be stored at |local_cache_path| location. Upon completion, invokes
|
| // |callback| with results on the calling thread.
|
| //
|
| // Can be called on any thread.
|
| virtual void DownloadFile(const FilePath& virtual_path,
|
| + const FilePath& local_cache_path,
|
| const GURL& content_url,
|
| const DownloadActionCallback& callback) = 0;
|
|
|
| @@ -195,9 +198,14 @@ class DocumentsService
|
| const EntryActionCallback& callback) OVERRIDE;
|
| virtual void DownloadDocument(
|
| const FilePath& virtual_path,
|
| + const FilePath& local_cache_path,
|
| const GURL& content_url,
|
| DocumentExportFormat format,
|
| const DownloadActionCallback& callback) OVERRIDE;
|
| + virtual void DownloadFile(const FilePath& virtual_path,
|
| + const FilePath& local_cache_path,
|
| + const GURL& content_url,
|
| + const DownloadActionCallback& callback) OVERRIDE;
|
| virtual void CopyDocument(const GURL& document_url,
|
| const FilePath::StringType& new_name,
|
| const GetDataCallback& callback) OVERRIDE;
|
| @@ -216,9 +224,6 @@ class DocumentsService
|
| virtual void CreateDirectory(const GURL& parent_content_url,
|
| const FilePath::StringType& directory_name,
|
| const GetDataCallback& callback) OVERRIDE;
|
| - virtual void DownloadFile(const FilePath& virtual_path,
|
| - const GURL& content_url,
|
| - const DownloadActionCallback& callback) OVERRIDE;
|
| virtual void InitiateUpload(const InitiateUploadParams& params,
|
| const InitiateUploadCallback& callback) OVERRIDE;
|
| virtual void ResumeUpload(const ResumeUploadParams& params,
|
|
|