| 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 // InternalComponentsFactory exists so that tests can override creation of | 5 // InternalComponentsFactory exists so that tests can override creation of |
| 6 // components used by the SyncManager that are not exposed across the sync | 6 // components used by the SyncManager that are not exposed across the sync |
| 7 // API boundary. | 7 // API boundary. |
| 8 | 8 |
| 9 #ifndef SYNC_INTERNAL_API_PUBLIC_INTERNAL_COMPONENTS_FACTORY_H_ | 9 #ifndef COMPONENTS_SYNC_CORE_INTERNAL_COMPONENTS_FACTORY_H_ |
| 10 #define SYNC_INTERNAL_API_PUBLIC_INTERNAL_COMPONENTS_FACTORY_H_ | 10 #define COMPONENTS_SYNC_CORE_INTERNAL_COMPONENTS_FACTORY_H_ |
| 11 | 11 |
| 12 #include <memory> | 12 #include <memory> |
| 13 #include <string> | 13 #include <string> |
| 14 #include <vector> | 14 #include <vector> |
| 15 | 15 |
| 16 #include "base/files/file_path.h" | 16 #include "base/files/file_path.h" |
| 17 #include "sync/base/sync_export.h" | 17 #include "components/sync/base/sync_export.h" |
| 18 #include "sync/internal_api/public/engine/model_safe_worker.h" | 18 #include "components/sync/engine/model_safe_worker.h" |
| 19 | 19 |
| 20 namespace syncer { | 20 namespace syncer { |
| 21 | 21 |
| 22 class CancelationSignal; | 22 class CancelationSignal; |
| 23 class ExtensionsActivity; | 23 class ExtensionsActivity; |
| 24 class ModelTypeRegistry; | 24 class ModelTypeRegistry; |
| 25 class ServerConnectionManager; | 25 class ServerConnectionManager; |
| 26 class SyncEngineEventListener; | 26 class SyncEngineEventListener; |
| 27 class SyncScheduler; | 27 class SyncScheduler; |
| 28 | 28 |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 const std::string& dir_name, | 106 const std::string& dir_name, |
| 107 const base::FilePath& backing_filepath) = 0; | 107 const base::FilePath& backing_filepath) = 0; |
| 108 | 108 |
| 109 // Returns the Switches struct that this object is using as configuration, if | 109 // Returns the Switches struct that this object is using as configuration, if |
| 110 // the implementation is making use of one. | 110 // the implementation is making use of one. |
| 111 virtual Switches GetSwitches() const = 0; | 111 virtual Switches GetSwitches() const = 0; |
| 112 }; | 112 }; |
| 113 | 113 |
| 114 } // namespace syncer | 114 } // namespace syncer |
| 115 | 115 |
| 116 #endif // SYNC_INTERNAL_API_PUBLIC_INTERNAL_COMPONENTS_FACTORY_H_ | 116 #endif // COMPONENTS_SYNC_CORE_INTERNAL_COMPONENTS_FACTORY_H_ |
| OLD | NEW |