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

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

Issue 1458013003: [Sync] USS: Add EntityChange. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@uss-data
Patch Set: s/client_tag/client_key/ etc Created 5 years 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/BUILD.gn » ('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 <vector> 7 #include <vector>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "sync/api/model_type_change_processor.h" 10 #include "sync/api/model_type_change_processor.h"
(...skipping 30 matching lines...) Expand all
41 41
42 syncer::SyncError DeviceInfoService::MergeSyncData( 42 syncer::SyncError DeviceInfoService::MergeSyncData(
43 syncer_v2::MetadataChanges* metadata_changes, 43 syncer_v2::MetadataChanges* metadata_changes,
44 syncer_v2::EntityDataList entity_data_list) { 44 syncer_v2::EntityDataList entity_data_list) {
45 // TODO(skym): Implementation. 45 // TODO(skym): Implementation.
46 return syncer::SyncError(); 46 return syncer::SyncError();
47 } 47 }
48 48
49 syncer::SyncError DeviceInfoService::ApplySyncChanges( 49 syncer::SyncError DeviceInfoService::ApplySyncChanges(
50 syncer_v2::MetadataChanges* metadata_changes, 50 syncer_v2::MetadataChanges* metadata_changes,
51 syncer_v2::EntityDataList entity_data_list) { 51 syncer_v2::EntityChangeList entity_changes) {
52 // TODO(skym): Implementation. 52 // TODO(skym): Implementation.
53 return syncer::SyncError(); 53 return syncer::SyncError();
54 } 54 }
55 55
56 void DeviceInfoService::LoadMetadata(MetadataCallback callback) { 56 void DeviceInfoService::LoadMetadata(MetadataCallback callback) {
57 // TODO(skym): Implementation. 57 // TODO(skym): Implementation.
58 } 58 }
59 59
60 void DeviceInfoService::GetData(ClientKeyList client_keys, 60 void DeviceInfoService::GetData(ClientKeyList client_keys,
61 DataCallback callback) { 61 DataCallback callback) {
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 << " with ID " << client_id; 190 << " with ID " << client_id;
191 all_data_.erase(iter); 191 all_data_.erase(iter);
192 } 192 }
193 } 193 }
194 194
195 void DeviceInfoService::OnProviderInitialized() { 195 void DeviceInfoService::OnProviderInitialized() {
196 // TODO(skym): Do we need this? 196 // TODO(skym): Do we need this?
197 } 197 }
198 198
199 } // namespace sync_driver_v2 199 } // namespace sync_driver_v2
OLDNEW
« no previous file with comments | « components/sync_driver/device_info_service.h ('k') | sync/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698