| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 COMPONENTS_SYNC_DRIVER_SYNC_SERVICE_BASE_H_ | 5 #ifndef COMPONENTS_SYNC_DRIVER_SYNC_SERVICE_BASE_H_ |
| 6 #define COMPONENTS_SYNC_DRIVER_SYNC_SERVICE_BASE_H_ | 6 #define COMPONENTS_SYNC_DRIVER_SYNC_SERVICE_BASE_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 std::unique_ptr<SyncEngine> engine_; | 114 std::unique_ptr<SyncEngine> engine_; |
| 115 | 115 |
| 116 // The list of observers of the SyncService state. | 116 // The list of observers of the SyncService state. |
| 117 base::ObserverList<SyncServiceObserver> observers_; | 117 base::ObserverList<SyncServiceObserver> observers_; |
| 118 | 118 |
| 119 // Used to ensure that certain operations are performed on the thread that | 119 // Used to ensure that certain operations are performed on the thread that |
| 120 // this object was created on. | 120 // this object was created on. |
| 121 base::ThreadChecker thread_checker_; | 121 base::ThreadChecker thread_checker_; |
| 122 | 122 |
| 123 private: | 123 private: |
| 124 bool GetLocalSyncConfig(base::FilePath* local_sync_backend_folder) const; | |
| 125 | 124 |
| 126 DISALLOW_COPY_AND_ASSIGN(SyncServiceBase); | 125 DISALLOW_COPY_AND_ASSIGN(SyncServiceBase); |
| 127 }; | 126 }; |
| 128 | 127 |
| 129 } // namespace syncer | 128 } // namespace syncer |
| 130 | 129 |
| 131 #endif // COMPONENTS_SYNC_DRIVER_SYNC_SERVICE_BASE_H_ | 130 #endif // COMPONENTS_SYNC_DRIVER_SYNC_SERVICE_BASE_H_ |
| OLD | NEW |