Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(718)

Side by Side Diff: components/sync/device_info/device_info_sync_service.h

Issue 2401223002: [Sync] Renaming sync/api* to sync/model*. (Closed)
Patch Set: Missed a comment in a DEPS file, and rebasing. Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_DEVICE_INFO_DEVICE_INFO_SYNC_SERVICE_H_ 5 #ifndef COMPONENTS_SYNC_DEVICE_INFO_DEVICE_INFO_SYNC_SERVICE_H_
6 #define COMPONENTS_SYNC_DEVICE_INFO_DEVICE_INFO_SYNC_SERVICE_H_ 6 #define COMPONENTS_SYNC_DEVICE_INFO_DEVICE_INFO_SYNC_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/observer_list.h" 16 #include "base/observer_list.h"
17 #include "base/time/time.h" 17 #include "base/time/time.h"
18 #include "base/timer/timer.h" 18 #include "base/timer/timer.h"
19 #include "components/sync/api/sync_change.h"
20 #include "components/sync/api/sync_change_processor.h"
21 #include "components/sync/api/sync_data.h"
22 #include "components/sync/api/sync_error_factory.h"
23 #include "components/sync/api/syncable_service.h"
24 #include "components/sync/device_info/device_info_tracker.h" 19 #include "components/sync/device_info/device_info_tracker.h"
20 #include "components/sync/model/sync_change.h"
21 #include "components/sync/model/sync_change_processor.h"
22 #include "components/sync/model/sync_data.h"
23 #include "components/sync/model/sync_error_factory.h"
24 #include "components/sync/model/syncable_service.h"
25 25
26 namespace syncer { 26 namespace syncer {
27 27
28 class LocalDeviceInfoProvider; 28 class LocalDeviceInfoProvider;
29 29
30 // SyncableService implementation for DEVICE_INFO model type. 30 // SyncableService implementation for DEVICE_INFO model type.
31 class DeviceInfoSyncService : public SyncableService, public DeviceInfoTracker { 31 class DeviceInfoSyncService : public SyncableService, public DeviceInfoTracker {
32 public: 32 public:
33 explicit DeviceInfoSyncService( 33 explicit DeviceInfoSyncService(
34 LocalDeviceInfoProvider* local_device_info_provider); 34 LocalDeviceInfoProvider* local_device_info_provider);
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 98
99 // Used to update our local device info once every pulse interval. 99 // Used to update our local device info once every pulse interval.
100 base::OneShotTimer pulse_timer_; 100 base::OneShotTimer pulse_timer_;
101 101
102 DISALLOW_COPY_AND_ASSIGN(DeviceInfoSyncService); 102 DISALLOW_COPY_AND_ASSIGN(DeviceInfoSyncService);
103 }; 103 };
104 104
105 } // namespace syncer 105 } // namespace syncer
106 106
107 #endif // COMPONENTS_SYNC_DEVICE_INFO_DEVICE_INFO_SYNC_SERVICE_H_ 107 #endif // COMPONENTS_SYNC_DEVICE_INFO_DEVICE_INFO_SYNC_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698