Index: chrome/browser/sync_file_system/remote_file_sync_service.h |
diff --git a/chrome/browser/sync_file_system/remote_file_sync_service.h b/chrome/browser/sync_file_system/remote_file_sync_service.h |
index 18b1f3cecd3ea9f1e081f6eacce9b007ecdc900a..22cec45bc8e23c1d5df9057740035a2a9dbfbae2 100644 |
--- a/chrome/browser/sync_file_system/remote_file_sync_service.h |
+++ b/chrome/browser/sync_file_system/remote_file_sync_service.h |
@@ -206,11 +206,17 @@ class RemoteFileSyncService { |
// Sets the conflict resolution policy. Returns SYNC_STATUS_OK on success, |
// or returns an error code if the given policy is not supported or had |
// an error. |
+ virtual SyncStatusCode SetDefaultConflictResolutionPolicy( |
+ ConflictResolutionPolicy policy) = 0; |
virtual SyncStatusCode SetConflictResolutionPolicy( |
+ const GURL& origin, |
ConflictResolutionPolicy policy) = 0; |
// Gets the conflict resolution policy. |
- virtual ConflictResolutionPolicy GetConflictResolutionPolicy() const = 0; |
+ virtual ConflictResolutionPolicy GetDefaultConflictResolutionPolicy() |
+ const = 0; |
+ virtual ConflictResolutionPolicy GetConflictResolutionPolicy( |
+ const GURL& origin) const = 0; |
// Returns a list of remote versions with their metadata. |
// This method is typically called for a file which is in conflicting state. |