| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_DEVICE_INFO_SYNC_SERVICE_H_ | 5 #ifndef COMPONENTS_SYNC_DRIVER_DEVICE_INFO_SYNC_SERVICE_H_ |
| 6 #define COMPONENTS_SYNC_DRIVER_DEVICE_INFO_SYNC_SERVICE_H_ | 6 #define COMPONENTS_SYNC_DRIVER_DEVICE_INFO_SYNC_SERVICE_H_ |
| 7 | 7 |
| 8 #include <map> |
| 9 #include <string> |
| 10 |
| 8 #include "base/observer_list.h" | 11 #include "base/observer_list.h" |
| 9 #include "components/sync_driver/device_info_tracker.h" | 12 #include "components/sync_driver/device_info_tracker.h" |
| 10 #include "sync/api/sync_change_processor.h" | 13 #include "sync/api/sync_change_processor.h" |
| 11 #include "sync/api/sync_data.h" | 14 #include "sync/api/sync_data.h" |
| 12 #include "sync/api/sync_error_factory.h" | 15 #include "sync/api/sync_error_factory.h" |
| 13 #include "sync/api/syncable_service.h" | 16 #include "sync/api/syncable_service.h" |
| 14 | 17 |
| 15 namespace sync_driver { | 18 namespace sync_driver { |
| 16 | 19 |
| 17 class LocalDeviceInfoProvider; | 20 class LocalDeviceInfoProvider; |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 | 102 |
| 100 // Registered observers, not owned. | 103 // Registered observers, not owned. |
| 101 base::ObserverList<Observer, true> observers_; | 104 base::ObserverList<Observer, true> observers_; |
| 102 | 105 |
| 103 DISALLOW_COPY_AND_ASSIGN(DeviceInfoSyncService); | 106 DISALLOW_COPY_AND_ASSIGN(DeviceInfoSyncService); |
| 104 }; | 107 }; |
| 105 | 108 |
| 106 } // namespace sync_driver | 109 } // namespace sync_driver |
| 107 | 110 |
| 108 #endif // COMPONENTS_SYNC_DRIVER_DEVICE_INFO_SYNC_SERVICE_H_ | 111 #endif // COMPONENTS_SYNC_DRIVER_DEVICE_INFO_SYNC_SERVICE_H_ |
| OLD | NEW |