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

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

Issue 11275225: Add a callback to RemoteFileSyncService for reporting errors. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: +TODO comment Created 8 years, 1 month 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/remote_file_sync_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1c96e49a9060b1a5ace3de5de8ceb9839e29aa6f..5ca98d5f3ea08367bc73b8370d78e0417e5f64e5 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
@@ -23,8 +23,12 @@ class MockRemoteFileSyncService : public RemoteFileSyncService {
// RemoteFileSyncService overrides.
MOCK_METHOD1(AddObserver, void(RemoteFileSyncService::Observer* observer));
MOCK_METHOD1(RemoveObserver, void(RemoteFileSyncService::Observer* observer));
- MOCK_METHOD1(RegisterOriginForTrackingChanges, void(const GURL& origin));
- MOCK_METHOD1(UnregisterOriginForTrackingChanges, void(const GURL& origin));
+ MOCK_METHOD2(RegisterOriginForTrackingChanges,
+ void(const GURL& origin,
+ const fileapi::SyncStatusCallback& callback));
+ MOCK_METHOD2(UnregisterOriginForTrackingChanges,
+ void(const GURL& origin,
+ const fileapi::SyncStatusCallback& callback));
MOCK_METHOD2(ProcessRemoteChange,
void(RemoteChangeProcessor* processor,
const fileapi::SyncFileCallback& callback));
« no previous file with comments | « no previous file | chrome/browser/sync_file_system/remote_file_sync_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698