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 #include "components/sync_driver/device_info_service.h" | 5 #include "components/sync_driver/device_info_service.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/bind.h" | 10 #include "base/bind.h" |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 scoped_ptr<MetadataChangeList> metadata_change_list, | 58 scoped_ptr<MetadataChangeList> metadata_change_list, |
59 EntityChangeList entity_changes) { | 59 EntityChangeList entity_changes) { |
60 // TODO(skym): Implementation. | 60 // TODO(skym): Implementation. |
61 return SyncError(); | 61 return SyncError(); |
62 } | 62 } |
63 | 63 |
64 void DeviceInfoService::LoadMetadata(MetadataCallback callback) { | 64 void DeviceInfoService::LoadMetadata(MetadataCallback callback) { |
65 // TODO(skym): Implementation. | 65 // TODO(skym): Implementation. |
66 } | 66 } |
67 | 67 |
68 void DeviceInfoService::GetData(ClientKeyList client_keys, | 68 void DeviceInfoService::GetData(ClientTagList client_tags, |
69 DataCallback callback) { | 69 DataCallback callback) { |
70 // TODO(skym): Implementation. | 70 // TODO(skym): Implementation. |
71 } | 71 } |
72 | 72 |
73 void DeviceInfoService::GetAllData(DataCallback callback) { | 73 void DeviceInfoService::GetAllData(DataCallback callback) { |
74 // TODO(skym): Implementation. | 74 // TODO(skym): Implementation. |
75 } | 75 } |
76 | 76 |
77 std::string DeviceInfoService::GetClientTag(const EntityData& entity_data) { | 77 std::string DeviceInfoService::GetClientTag(const EntityData& entity_data) { |
78 DCHECK(entity_data.specifics.has_device_info()); | 78 DCHECK(entity_data.specifics.has_device_info()); |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
196 << " with ID " << client_id; | 196 << " with ID " << client_id; |
197 all_data_.erase(iter); | 197 all_data_.erase(iter); |
198 } | 198 } |
199 } | 199 } |
200 | 200 |
201 void DeviceInfoService::OnProviderInitialized() { | 201 void DeviceInfoService::OnProviderInitialized() { |
202 // TODO(skym): Do we need this? | 202 // TODO(skym): Do we need this? |
203 } | 203 } |
204 | 204 |
205 } // namespace sync_driver_v2 | 205 } // namespace sync_driver_v2 |
OLD | NEW |