| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_SERVICE_H_ | 5 #ifndef COMPONENTS_SYNC_DRIVER_DEVICE_INFO_SERVICE_H_ |
| 6 #define COMPONENTS_SYNC_DRIVER_DEVICE_INFO_SERVICE_H_ | 6 #define COMPONENTS_SYNC_DRIVER_DEVICE_INFO_SERVICE_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| 11 #include <memory> | 11 #include <memory> |
| 12 #include <string> | 12 #include <string> |
| 13 #include <vector> | 13 #include <vector> |
| 14 | 14 |
| 15 #include "base/macros.h" | 15 #include "base/macros.h" |
| 16 #include "base/memory/weak_ptr.h" | 16 #include "base/memory/weak_ptr.h" |
| 17 #include "base/observer_list.h" | 17 #include "base/observer_list.h" |
| 18 #include "base/time/time.h" | 18 #include "base/time/time.h" |
| 19 #include "base/timer/timer.h" | 19 #include "base/timer/timer.h" |
| 20 #include "components/sync/api/model_type_service.h" |
| 21 #include "components/sync/api/model_type_store.h" |
| 22 #include "components/sync/core/simple_metadata_change_list.h" |
| 20 #include "components/sync_driver/device_info_tracker.h" | 23 #include "components/sync_driver/device_info_tracker.h" |
| 21 #include "components/sync_driver/local_device_info_provider.h" | 24 #include "components/sync_driver/local_device_info_provider.h" |
| 22 #include "sync/api/model_type_service.h" | |
| 23 #include "sync/api/model_type_store.h" | |
| 24 #include "sync/internal_api/public/simple_metadata_change_list.h" | |
| 25 | 25 |
| 26 namespace syncer { | 26 namespace syncer { |
| 27 class SyncError; | 27 class SyncError; |
| 28 } // namespace syncer | 28 } // namespace syncer |
| 29 | 29 |
| 30 namespace syncer_v2 { | 30 namespace syncer_v2 { |
| 31 class ModelTypeChangeProcessor; | 31 class ModelTypeChangeProcessor; |
| 32 } // namespace syncer_v2 | 32 } // namespace syncer_v2 |
| 33 | 33 |
| 34 namespace sync_pb { | 34 namespace sync_pb { |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 181 | 181 |
| 182 // Should always be last member. | 182 // Should always be last member. |
| 183 base::WeakPtrFactory<DeviceInfoService> weak_factory_; | 183 base::WeakPtrFactory<DeviceInfoService> weak_factory_; |
| 184 | 184 |
| 185 DISALLOW_COPY_AND_ASSIGN(DeviceInfoService); | 185 DISALLOW_COPY_AND_ASSIGN(DeviceInfoService); |
| 186 }; | 186 }; |
| 187 | 187 |
| 188 } // namespace sync_driver_v2 | 188 } // namespace sync_driver_v2 |
| 189 | 189 |
| 190 #endif // COMPONENTS_SYNC_DRIVER_DEVICE_INFO_SERVICE_H_ | 190 #endif // COMPONENTS_SYNC_DRIVER_DEVICE_INFO_SERVICE_H_ |
| OLD | NEW |