| 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 7f9c01e255491a785689dc50118fac9ea4770c6f..ab4b779b76101187e3ef41d18ed6e5c212cd2f62 100644
|
| --- a/chrome/browser/chromeos/gdata/gdata_documents_service.h
|
| +++ b/chrome/browser/chromeos/gdata/gdata_documents_service.h
|
| @@ -9,9 +9,9 @@
|
|
|
| #include "base/memory/scoped_ptr.h"
|
| #include "base/memory/weak_ptr.h"
|
| +#include "chrome/browser/chromeos/gdata/gdata_operations.h"
|
| #include "chrome/browser/chromeos/gdata/gdata_auth_service.h"
|
| #include "chrome/browser/chromeos/gdata/gdata_errorcode.h"
|
| -#include "chrome/browser/chromeos/gdata/gdata_params.h"
|
|
|
| class FilePath;
|
| class GURL;
|
| @@ -179,15 +179,15 @@ class DocumentsServiceInterface {
|
| // Downloads a file identified by its |content_url|. The downloaded file will
|
| // be stored at |local_cache_path| location. Upon completion, invokes
|
| // |download_action_callback| with results on the calling thread.
|
| - // If |get_download_data_callback| is not empty,
|
| + // If |get_content_callback| is not empty,
|
| // URLFetcherDelegate::OnURLFetchDownloadData will be called, which will in
|
| - // turn invoke |get_download_data_callback| on the calling thread.
|
| + // turn invoke |get_content_callback| on the calling thread.
|
| virtual void DownloadFile(
|
| const FilePath& virtual_path,
|
| const FilePath& local_cache_path,
|
| const GURL& content_url,
|
| const DownloadActionCallback& download_action_callback,
|
| - const GetDownloadDataCallback& get_download_data_callback) = 0;
|
| + const GetContentCallback& get_content_callback) = 0;
|
|
|
| // Initiates uploading of a document/file.
|
| virtual void InitiateUpload(const InitiateUploadParams& params,
|
| @@ -251,7 +251,7 @@ class DocumentsService : public DocumentsServiceInterface {
|
| const FilePath& local_cache_path,
|
| const GURL& content_url,
|
| const DownloadActionCallback& download_action_callback,
|
| - const GetDownloadDataCallback& get_download_data_callback) OVERRIDE;
|
| + const GetContentCallback& get_content_callback) OVERRIDE;
|
| virtual void CopyDocument(const std::string& resource_id,
|
| const FilePath::StringType& new_name,
|
| const GetDataCallback& callback) OVERRIDE;
|
|
|