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

Unified Diff: chrome/browser/chromeos/drive/drive_api_service.h

Issue 11143014: Add request header on gdata operation for testing ETag match. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: build fix & test fix Created 8 years, 2 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/drive/drive_api_service.h
diff --git a/chrome/browser/chromeos/drive/drive_api_service.h b/chrome/browser/chromeos/drive/drive_api_service.h
index fd1ff0ed0b25603d14407eae9a34472530349707..d9c6e46dcebd50128185259893f6cfd2cef05d75 100644
--- a/chrome/browser/chromeos/drive/drive_api_service.h
+++ b/chrome/browser/chromeos/drive/drive_api_service.h
@@ -64,17 +64,20 @@ class DriveAPIService : public DriveServiceInterface,
const gdata::GetDataCallback& callback) OVERRIDE;
virtual void DeleteDocument(
const GURL& document_url,
+ const std::string& etag,
const gdata::EntryActionCallback& callback) OVERRIDE;
virtual void DownloadDocument(
const FilePath& virtual_path,
const FilePath& local_cache_path,
const GURL& content_url,
DocumentExportFormat format,
+ const std::string& etag,
const gdata::DownloadActionCallback& callback) OVERRIDE;
virtual void DownloadFile(
const FilePath& virtual_path,
const FilePath& local_cache_path,
const GURL& content_url,
+ const std::string& etag,
const gdata::DownloadActionCallback& download_action_callback,
const gdata::GetContentCallback& get_content_callback) OVERRIDE;
virtual void CopyDocument(const std::string& resource_id,
« no previous file with comments | « no previous file | chrome/browser/chromeos/drive/drive_api_service.cc » ('j') | chrome/browser/chromeos/drive/drive_file_system.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698