| OLD | NEW |
| 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 // | 4 // |
| 5 // An InternalComponentsFactory implementation designed for real production / | 5 // An InternalComponentsFactory implementation designed for real production / |
| 6 // normal use. | 6 // normal use. |
| 7 | 7 |
| 8 #ifndef COMPONENTS_SYNC_CORE_INTERNAL_COMPONENTS_FACTORY_IMPL_H_ | 8 #ifndef COMPONENTS_SYNC_CORE_INTERNAL_COMPONENTS_FACTORY_IMPL_H_ |
| 9 #define COMPONENTS_SYNC_CORE_INTERNAL_COMPONENTS_FACTORY_IMPL_H_ | 9 #define COMPONENTS_SYNC_CORE_INTERNAL_COMPONENTS_FACTORY_IMPL_H_ |
| 10 | 10 |
| 11 #include <memory> |
| 11 #include <string> | 12 #include <string> |
| 12 #include <vector> | 13 #include <vector> |
| 13 | 14 |
| 14 #include "base/macros.h" | 15 #include "base/macros.h" |
| 15 #include "components/sync/core/internal_components_factory.h" | 16 #include "components/sync/core/internal_components_factory.h" |
| 16 | 17 |
| 17 namespace syncer { | 18 namespace syncer { |
| 18 | 19 |
| 19 class InternalComponentsFactoryImpl : public InternalComponentsFactory { | 20 class InternalComponentsFactoryImpl : public InternalComponentsFactory { |
| 20 public: | 21 public: |
| (...skipping 22 matching lines...) Expand all Loading... |
| 43 Switches GetSwitches() const override; | 44 Switches GetSwitches() const override; |
| 44 | 45 |
| 45 private: | 46 private: |
| 46 const Switches switches_; | 47 const Switches switches_; |
| 47 DISALLOW_COPY_AND_ASSIGN(InternalComponentsFactoryImpl); | 48 DISALLOW_COPY_AND_ASSIGN(InternalComponentsFactoryImpl); |
| 48 }; | 49 }; |
| 49 | 50 |
| 50 } // namespace syncer | 51 } // namespace syncer |
| 51 | 52 |
| 52 #endif // COMPONENTS_SYNC_CORE_INTERNAL_COMPONENTS_FACTORY_IMPL_H_ | 53 #endif // COMPONENTS_SYNC_CORE_INTERNAL_COMPONENTS_FACTORY_IMPL_H_ |
| OLD | NEW |