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

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

Issue 629603002: replace OVERRIDE and FINAL with override and final in chrome/browser/[r-z]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 6 years, 2 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
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 <string> 8 #include <string>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 void(RemoteChangeProcessor* processor)); 48 void(RemoteChangeProcessor* processor));
49 MOCK_METHOD0(GetLocalChangeProcessor, LocalChangeProcessor*()); 49 MOCK_METHOD0(GetLocalChangeProcessor, LocalChangeProcessor*());
50 MOCK_CONST_METHOD0(GetCurrentState, 50 MOCK_CONST_METHOD0(GetCurrentState,
51 RemoteServiceState()); 51 RemoteServiceState());
52 MOCK_METHOD1(GetOriginStatusMap, 52 MOCK_METHOD1(GetOriginStatusMap,
53 void(const StatusMapCallback& callback)); 53 void(const StatusMapCallback& callback));
54 MOCK_METHOD1(SetSyncEnabled, void(bool enabled)); 54 MOCK_METHOD1(SetSyncEnabled, void(bool enabled));
55 MOCK_METHOD1(PromoteDemotedChanges, void(const base::Closure& callback)); 55 MOCK_METHOD1(PromoteDemotedChanges, void(const base::Closure& callback));
56 56
57 virtual void DumpFiles(const GURL& origin, 57 virtual void DumpFiles(const GURL& origin,
58 const ListCallback& callback) OVERRIDE; 58 const ListCallback& callback) override;
59 virtual void DumpDatabase(const ListCallback& callback) OVERRIDE; 59 virtual void DumpDatabase(const ListCallback& callback) override;
60 60
61 void SetServiceState(RemoteServiceState state); 61 void SetServiceState(RemoteServiceState state);
62 62
63 // Send notifications to the observers. 63 // Send notifications to the observers.
64 // Can be used in the mock implementation. 64 // Can be used in the mock implementation.
65 void NotifyRemoteChangeQueueUpdated(int64 pending_changes); 65 void NotifyRemoteChangeQueueUpdated(int64 pending_changes);
66 void NotifyRemoteServiceStateUpdated( 66 void NotifyRemoteServiceStateUpdated(
67 RemoteServiceState state, 67 RemoteServiceState state,
68 const std::string& description); 68 const std::string& description);
69 void NotifyFileStatusChanged(const storage::FileSystemURL& url, 69 void NotifyFileStatusChanged(const storage::FileSystemURL& url,
(...skipping 22 matching lines...) Expand all
92 ConflictResolutionPolicy conflict_resolution_policy_; 92 ConflictResolutionPolicy conflict_resolution_policy_;
93 93
94 RemoteServiceState state_; 94 RemoteServiceState state_;
95 95
96 DISALLOW_COPY_AND_ASSIGN(MockRemoteFileSyncService); 96 DISALLOW_COPY_AND_ASSIGN(MockRemoteFileSyncService);
97 }; 97 };
98 98
99 } // namespace sync_file_system 99 } // namespace sync_file_system
100 100
101 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_MOCK_REMOTE_FILE_SYNC_SERVICE_H_ 101 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_MOCK_REMOTE_FILE_SYNC_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync_file_system/logger_unittest.cc ('k') | chrome/browser/sync_file_system/sync_file_system_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698