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

Side by Side Diff: chrome/browser/sync_file_system/mock_remote_file_sync_service.h

Issue 12744008: SyncFS: store disabled origins in DriveMetadataStore (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_MOCK_REMOTE_FILE_SYNC_SERVICE_H_ 5 #ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_MOCK_REMOTE_FILE_SYNC_SERVICE_H_
6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_MOCK_REMOTE_FILE_SYNC_SERVICE_H_ 6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_MOCK_REMOTE_FILE_SYNC_SERVICE_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 19 matching lines...) Expand all
30 30
31 // RemoteFileSyncService overrides. 31 // RemoteFileSyncService overrides.
32 MOCK_METHOD1(AddServiceObserver, 32 MOCK_METHOD1(AddServiceObserver,
33 void(RemoteFileSyncService::Observer* observer)); 33 void(RemoteFileSyncService::Observer* observer));
34 MOCK_METHOD1(AddFileStatusObserver, 34 MOCK_METHOD1(AddFileStatusObserver,
35 void(FileStatusObserver* observer)); 35 void(FileStatusObserver* observer));
36 MOCK_METHOD2(RegisterOriginForTrackingChanges, 36 MOCK_METHOD2(RegisterOriginForTrackingChanges,
37 void(const GURL& origin, const SyncStatusCallback& callback)); 37 void(const GURL& origin, const SyncStatusCallback& callback));
38 MOCK_METHOD2(UnregisterOriginForTrackingChanges, 38 MOCK_METHOD2(UnregisterOriginForTrackingChanges,
39 void(const GURL& origin, const SyncStatusCallback& callback)); 39 void(const GURL& origin, const SyncStatusCallback& callback));
40 MOCK_METHOD2(EnableOriginForTrackingChanges,
41 void(const GURL& origin, const SyncStatusCallback& callback));
42 MOCK_METHOD2(DisableOriginForTrackingChanges,
43 void(const GURL& origin, const SyncStatusCallback& callback));
40 MOCK_METHOD2(DeleteOriginDirectory, 44 MOCK_METHOD2(DeleteOriginDirectory,
41 void(const GURL& origin, const SyncStatusCallback& callback)); 45 void(const GURL& origin, const SyncStatusCallback& callback));
42 MOCK_METHOD1(ProcessRemoteChange, 46 MOCK_METHOD1(ProcessRemoteChange,
43 void(const SyncFileCallback& callback)); 47 void(const SyncFileCallback& callback));
44 MOCK_METHOD1(SetRemoteChangeProcessor, 48 MOCK_METHOD1(SetRemoteChangeProcessor,
45 void(RemoteChangeProcessor* processor)); 49 void(RemoteChangeProcessor* processor));
46 MOCK_METHOD0(GetLocalChangeProcessor, LocalChangeProcessor*()); 50 MOCK_METHOD0(GetLocalChangeProcessor, LocalChangeProcessor*());
47 MOCK_METHOD1(IsConflicting, bool(const fileapi::FileSystemURL& url)); 51 MOCK_METHOD1(IsConflicting, bool(const fileapi::FileSystemURL& url));
48 MOCK_METHOD2(GetRemoteFileMetadata, 52 MOCK_METHOD2(GetRemoteFileMetadata,
49 void(const fileapi::FileSystemURL& url, 53 void(const fileapi::FileSystemURL& url,
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 ObserverList<FileStatusObserver> file_status_observers_; 117 ObserverList<FileStatusObserver> file_status_observers_;
114 118
115 ConflictResolutionPolicy conflict_resolution_policy_; 119 ConflictResolutionPolicy conflict_resolution_policy_;
116 120
117 DISALLOW_COPY_AND_ASSIGN(MockRemoteFileSyncService); 121 DISALLOW_COPY_AND_ASSIGN(MockRemoteFileSyncService);
118 }; 122 };
119 123
120 } // namespace sync_file_system 124 } // namespace sync_file_system
121 125
122 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_MOCK_REMOTE_FILE_SYNC_SERVICE_H_ 126 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_MOCK_REMOTE_FILE_SYNC_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync_file_system/local_file_sync_service.cc ('k') | 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