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

Side by Side Diff: sync/internal_api/public/test/test_internal_components_factory.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_INTERNAL_API_PUBLIC_TEST_TEST_INTERNAL_COMPONENTS_FACTORY_H_ 5 #ifndef SYNC_INTERNAL_API_PUBLIC_TEST_TEST_INTERNAL_COMPONENTS_FACTORY_H_
6 #define SYNC_INTERNAL_API_PUBLIC_TEST_TEST_INTERNAL_COMPONENTS_FACTORY_H_ 6 #define SYNC_INTERNAL_API_PUBLIC_TEST_TEST_INTERNAL_COMPONENTS_FACTORY_H_
7 7
8 #include "sync/internal_api/public/internal_components_factory.h" 8 #include "sync/internal_api/public/internal_components_factory.h"
9 9
10 namespace syncer { 10 namespace syncer {
11 11
12 class TestInternalComponentsFactory : public InternalComponentsFactory { 12 class TestInternalComponentsFactory : public InternalComponentsFactory {
13 public: 13 public:
14 explicit TestInternalComponentsFactory(const Switches& switches, 14 explicit TestInternalComponentsFactory(const Switches& switches,
15 StorageOption option, 15 StorageOption option,
16 StorageOption* storage_used); 16 StorageOption* storage_used);
17 virtual ~TestInternalComponentsFactory(); 17 virtual ~TestInternalComponentsFactory();
18 18
19 virtual scoped_ptr<SyncScheduler> BuildScheduler( 19 virtual scoped_ptr<SyncScheduler> BuildScheduler(
20 const std::string& name, 20 const std::string& name,
21 sessions::SyncSessionContext* context, 21 sessions::SyncSessionContext* context,
22 syncer::CancelationSignal* cancelation_signal) OVERRIDE; 22 syncer::CancelationSignal* cancelation_signal) override;
23 23
24 virtual scoped_ptr<sessions::SyncSessionContext> BuildContext( 24 virtual scoped_ptr<sessions::SyncSessionContext> BuildContext(
25 ServerConnectionManager* connection_manager, 25 ServerConnectionManager* connection_manager,
26 syncable::Directory* directory, 26 syncable::Directory* directory,
27 ExtensionsActivity* monitor, 27 ExtensionsActivity* monitor,
28 const std::vector<SyncEngineEventListener*>& listeners, 28 const std::vector<SyncEngineEventListener*>& listeners,
29 sessions::DebugInfoGetter* debug_info_getter, 29 sessions::DebugInfoGetter* debug_info_getter,
30 ModelTypeRegistry* model_type_registry, 30 ModelTypeRegistry* model_type_registry,
31 const std::string& invalidator_client_id) OVERRIDE; 31 const std::string& invalidator_client_id) override;
32 32
33 virtual scoped_ptr<syncable::DirectoryBackingStore> 33 virtual scoped_ptr<syncable::DirectoryBackingStore>
34 BuildDirectoryBackingStore( 34 BuildDirectoryBackingStore(
35 StorageOption storage, 35 StorageOption storage,
36 const std::string& dir_name, 36 const std::string& dir_name,
37 const base::FilePath& backing_filepath) OVERRIDE; 37 const base::FilePath& backing_filepath) override;
38 38
39 virtual Switches GetSwitches() const OVERRIDE; 39 virtual Switches GetSwitches() const override;
40 40
41 private: 41 private:
42 const Switches switches_; 42 const Switches switches_;
43 const StorageOption storage_override_; 43 const StorageOption storage_override_;
44 StorageOption* storage_used_; 44 StorageOption* storage_used_;
45 45
46 DISALLOW_COPY_AND_ASSIGN(TestInternalComponentsFactory); 46 DISALLOW_COPY_AND_ASSIGN(TestInternalComponentsFactory);
47 }; 47 };
48 48
49 } // namespace syncer 49 } // namespace syncer
50 50
51 #endif // SYNC_INTERNAL_API_PUBLIC_TEST_TEST_INTERNAL_COMPONENTS_FACTORY_H_ 51 #endif // SYNC_INTERNAL_API_PUBLIC_TEST_TEST_INTERNAL_COMPONENTS_FACTORY_H_
OLDNEW
« no previous file with comments | « sync/internal_api/public/test/sync_manager_factory_for_profile_sync_test.h ('k') | sync/internal_api/public/write_node.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698