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

Side by Side Diff: components/sync_driver/device_info_service.cc

Issue 1648813002: [Sync] Renaming client key to client tag. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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
« no previous file with comments | « components/sync_driver/device_info_service.h ('k') | sync/api/data_batch.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « components/sync_driver/device_info_service.h ('k') | sync/api/data_batch.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698