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

Unified Diff: chrome/browser/google_apis/gdata_wapi_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/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 d6822a17871791f611a0459b6d386e0dc31c9927..3dcae707a9b31c08d8de1dd4d7ba3fdc15f51219 100644
--- a/chrome/browser/google_apis/gdata_wapi_service.h
+++ b/chrome/browser/google_apis/gdata_wapi_service.h
@@ -68,17 +68,20 @@ class GDataWapiService : 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,

Powered by Google App Engine
This is Rietveld 408576698