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

Unified Diff: chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.h

Issue 185563011: [SyncFS] Change RemoteFileSyncService interface to accept per-app conflict resolution policy (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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/sync_file_system/drive_backend_v1/drive_file_sync_service.h
diff --git a/chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.h b/chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.h
index ed6fcc6ca24dde64d7845616facc7bb97c2aed12..44951bf8615447dfb6635be3f6b07b7e18892349 100644
--- a/chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.h
+++ b/chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.h
@@ -106,12 +106,18 @@ class DriveFileSyncService : public RemoteFileSyncService,
virtual scoped_ptr<base::ListValue> DumpFiles(const GURL& origin) OVERRIDE;
virtual scoped_ptr<base::ListValue> DumpDatabase() OVERRIDE;
virtual void SetSyncEnabled(bool enabled) OVERRIDE;
+ virtual SyncStatusCode SetDefaultConflictResolutionPolicy(
+ ConflictResolutionPolicy policy) OVERRIDE;
virtual SyncStatusCode SetConflictResolutionPolicy(
+ const GURL& origin,
ConflictResolutionPolicy policy) OVERRIDE;
- virtual ConflictResolutionPolicy GetConflictResolutionPolicy() const OVERRIDE;
- virtual void GetRemoteVersions(
- const fileapi::FileSystemURL& url,
- const RemoteVersionsCallback& callback) OVERRIDE;
+ virtual ConflictResolutionPolicy GetDefaultConflictResolutionPolicy() const
+ OVERRIDE;
+ virtual ConflictResolutionPolicy GetConflictResolutionPolicy(
+ const GURL& origin) const OVERRIDE;
+ virtual void GetRemoteVersions(const fileapi::FileSystemURL& url,
+ const RemoteVersionsCallback& callback)
+ OVERRIDE;
virtual void DownloadRemoteVersion(
const fileapi::FileSystemURL& url,
const std::string& version_id,

Powered by Google App Engine
This is Rietveld 408576698