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

Side by Side Diff: sync/api/fake_syncable_service.h

Issue 629733002: replace OVERRIDE and FINAL with override and final in sync/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 SYNC_API_FAKE_SYNCABLE_SERVICE_H_ 5 #ifndef SYNC_API_FAKE_SYNCABLE_SERVICE_H_
6 #define SYNC_API_FAKE_SYNCABLE_SERVICE_H_ 6 #define SYNC_API_FAKE_SYNCABLE_SERVICE_H_
7 7
8 #include "sync/api/syncable_service.h" 8 #include "sync/api/syncable_service.h"
9 9
10 namespace syncer { 10 namespace syncer {
(...skipping 13 matching lines...) Expand all
24 24
25 // Whether we're syncing or not. Set on a successful MergeDataAndStartSyncing, 25 // Whether we're syncing or not. Set on a successful MergeDataAndStartSyncing,
26 // unset on StopSyncing. False by default. 26 // unset on StopSyncing. False by default.
27 bool syncing() const; 27 bool syncing() const;
28 28
29 // SyncableService implementation. 29 // SyncableService implementation.
30 virtual SyncMergeResult MergeDataAndStartSyncing( 30 virtual SyncMergeResult MergeDataAndStartSyncing(
31 ModelType type, 31 ModelType type,
32 const SyncDataList& initial_sync_data, 32 const SyncDataList& initial_sync_data,
33 scoped_ptr<SyncChangeProcessor> sync_processor, 33 scoped_ptr<SyncChangeProcessor> sync_processor,
34 scoped_ptr<SyncErrorFactory> sync_error_factory) OVERRIDE; 34 scoped_ptr<SyncErrorFactory> sync_error_factory) override;
35 virtual void StopSyncing(ModelType type) OVERRIDE; 35 virtual void StopSyncing(ModelType type) override;
36 virtual SyncDataList GetAllSyncData(ModelType type) const OVERRIDE; 36 virtual SyncDataList GetAllSyncData(ModelType type) const override;
37 virtual SyncError ProcessSyncChanges( 37 virtual SyncError ProcessSyncChanges(
38 const tracked_objects::Location& from_here, 38 const tracked_objects::Location& from_here,
39 const SyncChangeList& change_list) OVERRIDE; 39 const SyncChangeList& change_list) override;
40 40
41 private: 41 private:
42 scoped_ptr<SyncChangeProcessor> sync_processor_; 42 scoped_ptr<SyncChangeProcessor> sync_processor_;
43 SyncError merge_data_and_start_syncing_error_; 43 SyncError merge_data_and_start_syncing_error_;
44 SyncError process_sync_changes_error_; 44 SyncError process_sync_changes_error_;
45 bool syncing_; 45 bool syncing_;
46 ModelType type_; 46 ModelType type_;
47 }; 47 };
48 48
49 } // namespace syncer 49 } // namespace syncer
50 50
51 #endif // SYNC_API_FAKE_SYNCABLE_SERVICE_H_ 51 #endif // SYNC_API_FAKE_SYNCABLE_SERVICE_H_
OLDNEW
« no previous file with comments | « sync/api/fake_sync_change_processor.h ('k') | sync/api/sync_change_processor_wrapper_for_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698