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

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

Issue 12389017: Added function DeleteOriginDirectory to RemoteFileSyncService interface that removes the remote cop… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase for commit Created 7 years, 10 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
« no previous file with comments | « no previous file | chrome/browser/sync_file_system/drive_file_sync_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync_file_system/drive_file_sync_service.h
diff --git a/chrome/browser/sync_file_system/drive_file_sync_service.h b/chrome/browser/sync_file_system/drive_file_sync_service.h
index cef85e706ca0fa19feac74f4fdb619c34f3c77f4..d020e82875cf9202a4b8d6f8ea4cc2d69ad96a86 100644
--- a/chrome/browser/sync_file_system/drive_file_sync_service.h
+++ b/chrome/browser/sync_file_system/drive_file_sync_service.h
@@ -77,6 +77,9 @@ class DriveFileSyncService
virtual void UnregisterOriginForTrackingChanges(
const GURL& origin,
const SyncStatusCallback& callback) OVERRIDE;
+ virtual void DeleteOriginDirectory(
+ const GURL& origin,
+ const SyncStatusCallback& callback) OVERRIDE;
virtual void ProcessRemoteChange(
RemoteChangeProcessor* processor,
const SyncFileCallback& callback) OVERRIDE;
@@ -270,6 +273,9 @@ class DriveFileSyncService
const SyncStatusCallback& callback,
google_apis::GDataErrorCode error,
const std::string& resource_id);
+ void DidDeleteOriginDirectory(scoped_ptr<TaskToken> token,
+ const SyncStatusCallback& callback,
+ google_apis::GDataErrorCode error);
void DidGetLargestChangeStampForBatchSync(scoped_ptr<TaskToken> token,
const GURL& origin,
const std::string& resource_id,
« no previous file with comments | « no previous file | chrome/browser/sync_file_system/drive_file_sync_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698