Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6014)

Unified Diff: chrome/browser/chromeos/gdata/gdata_documents_service.h

Issue 10855034: Drive: Remove gdata_params.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review (#16) fix & rebase Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
« no previous file with comments | « chrome/browser/chromeos/gdata/gdata_contacts_service.cc ('k') | chrome/browser/chromeos/gdata/gdata_documents_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698