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

Unified Diff: chrome/browser/sync_file_system/mock_remote_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
Index: chrome/browser/sync_file_system/mock_remote_file_sync_service.h
diff --git a/chrome/browser/sync_file_system/mock_remote_file_sync_service.h b/chrome/browser/sync_file_system/mock_remote_file_sync_service.h
index 54ba1bc4386df8c0e307433ba2bfadc5d645a162..be42a1da65c98c7b269a30b5978afa6996a7d24e 100644
--- a/chrome/browser/sync_file_system/mock_remote_file_sync_service.h
+++ b/chrome/browser/sync_file_system/mock_remote_file_sync_service.h
@@ -37,6 +37,8 @@ class MockRemoteFileSyncService : public RemoteFileSyncService {
void(const GURL& origin, const SyncStatusCallback& callback));
MOCK_METHOD2(UnregisterOriginForTrackingChanges,
void(const GURL& origin, const SyncStatusCallback& callback));
+ MOCK_METHOD2(DeleteOriginDirectory,
+ void(const GURL& origin, const SyncStatusCallback& callback));
MOCK_METHOD2(ProcessRemoteChange,
void(RemoteChangeProcessor* processor,
const SyncFileCallback& callback));
@@ -86,6 +88,8 @@ class MockRemoteFileSyncService : public RemoteFileSyncService {
const GURL& origin, const SyncStatusCallback& callback);
void UnregisterOriginForTrackingChangesStub(
const GURL& origin, const SyncStatusCallback& callback);
+ void DeleteOriginDirectoryStub(
+ const GURL& origin, const SyncStatusCallback& callback);
void ProcessRemoteChangeStub(
RemoteChangeProcessor* processor, const SyncFileCallback& callback);
void GetRemoteFileMetadataStub(

Powered by Google App Engine
This is Rietveld 408576698