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

Side by Side Diff: sync/internal_api/public/simple_metadata_change_list.cc

Issue 1565503003: Use MetadataChangeList and EntityChangeList in SharedModelTypeProcessor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added ClearDataTypeState Created 4 years, 11 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 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 "sync/internal_api/public/simple_metadata_change_list.h" 5 #include "sync/internal_api/public/simple_metadata_change_list.h"
6 6
7 namespace syncer_v2 { 7 namespace syncer_v2 {
8 8
9 SimpleMetadataChangeList::SimpleMetadataChangeList() {} 9 SimpleMetadataChangeList::SimpleMetadataChangeList() {}
10 10
11 SimpleMetadataChangeList::~SimpleMetadataChangeList() {} 11 SimpleMetadataChangeList::~SimpleMetadataChangeList() {}
12 12
13 void SimpleMetadataChangeList::UpdateDataTypeState(
14 const DataTypeState& data_type_state) {
15 // TODO(skym): Implementation.
16 }
17
18 void SimpleMetadataChangeList::UpdateMetadata(
19 const std::string& client_tag,
20 const sync_pb::EntityMetadata& metadata) {
21 // TODO(skym): Implementation.
22 }
23
24 void SimpleMetadataChangeList::ClearDataTypeState() {
25 // TODO(skym): Implementation.
26 }
27
28 void SimpleMetadataChangeList::ClearMetadata(const std::string& client_tag) {
29 // TODO(skym): Implementation.
30 }
31
13 void SimpleMetadataChangeList::TranfserChanges( 32 void SimpleMetadataChangeList::TranfserChanges(
14 ModelTypeStore* store, 33 ModelTypeStore* store,
15 ModelTypeStore::WriteBatch* write_batch) { 34 ModelTypeStore::WriteBatch* write_batch) {
16 // TODO(skym): Implementation. 35 // TODO(skym): Implementation.
17 } 36 }
18 37
19 } // namespace syncer_v2 38 } // namespace syncer_v2
OLDNEW
« no previous file with comments | « sync/internal_api/public/simple_metadata_change_list.h ('k') | sync/internal_api/public/test/fake_metadata_change_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698