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

Side by Side Diff: components/sync/engine/engine_components_factory_impl.h

Issue 2425673003: [Sync] Moved down comments directly following copyright. (Closed)
Patch Set: Updates for Max. Created 4 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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 //
5 // An EngineComponentsFactory implementation designed for real production /
6 // normal use.
7 4
8 #ifndef COMPONENTS_SYNC_ENGINE_ENGINE_COMPONENTS_FACTORY_IMPL_H_ 5 #ifndef COMPONENTS_SYNC_ENGINE_ENGINE_COMPONENTS_FACTORY_IMPL_H_
9 #define COMPONENTS_SYNC_ENGINE_ENGINE_COMPONENTS_FACTORY_IMPL_H_ 6 #define COMPONENTS_SYNC_ENGINE_ENGINE_COMPONENTS_FACTORY_IMPL_H_
10 7
11 #include <memory> 8 #include <memory>
12 #include <string> 9 #include <string>
13 #include <vector> 10 #include <vector>
14 11
15 #include "base/macros.h" 12 #include "base/macros.h"
16 #include "components/sync/engine/engine_components_factory.h" 13 #include "components/sync/engine/engine_components_factory.h"
17 14
18 namespace syncer { 15 namespace syncer {
19 16
17 // An EngineComponentsFactory implementation designed for real production /
18 // normal use.
20 class EngineComponentsFactoryImpl : public EngineComponentsFactory { 19 class EngineComponentsFactoryImpl : public EngineComponentsFactory {
21 public: 20 public:
22 explicit EngineComponentsFactoryImpl(const Switches& switches); 21 explicit EngineComponentsFactoryImpl(const Switches& switches);
23 ~EngineComponentsFactoryImpl() override; 22 ~EngineComponentsFactoryImpl() override;
24 23
25 std::unique_ptr<SyncScheduler> BuildScheduler( 24 std::unique_ptr<SyncScheduler> BuildScheduler(
26 const std::string& name, 25 const std::string& name,
27 SyncCycleContext* context, 26 SyncCycleContext* context,
28 CancelationSignal* cancelation_signal) override; 27 CancelationSignal* cancelation_signal) override;
29 28
(...skipping 14 matching lines...) Expand all
44 Switches GetSwitches() const override; 43 Switches GetSwitches() const override;
45 44
46 private: 45 private:
47 const Switches switches_; 46 const Switches switches_;
48 DISALLOW_COPY_AND_ASSIGN(EngineComponentsFactoryImpl); 47 DISALLOW_COPY_AND_ASSIGN(EngineComponentsFactoryImpl);
49 }; 48 };
50 49
51 } // namespace syncer 50 } // namespace syncer
52 51
53 #endif // COMPONENTS_SYNC_ENGINE_ENGINE_COMPONENTS_FACTORY_IMPL_H_ 52 #endif // COMPONENTS_SYNC_ENGINE_ENGINE_COMPONENTS_FACTORY_IMPL_H_
OLDNEW
« no previous file with comments | « components/sync/driver/sync_driver_switches.h ('k') | components/sync/engine/model_safe_worker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698