OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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/core/test/fake_model_type_processor.h" | 5 #include "components/sync/core/test/fake_model_type_processor.h" |
6 | 6 |
7 #include "components/sync/engine/commit_queue.h" | 7 #include "components/sync/engine/commit_queue.h" |
8 | 8 |
9 namespace syncer { | 9 namespace syncer_v2 { |
10 | 10 |
11 FakeModelTypeProcessor::FakeModelTypeProcessor() {} | 11 FakeModelTypeProcessor::FakeModelTypeProcessor() {} |
12 FakeModelTypeProcessor::~FakeModelTypeProcessor() {} | 12 FakeModelTypeProcessor::~FakeModelTypeProcessor() {} |
13 | 13 |
14 void FakeModelTypeProcessor::ConnectSync(std::unique_ptr<CommitQueue> worker) {} | 14 void FakeModelTypeProcessor::ConnectSync(std::unique_ptr<CommitQueue> worker) {} |
15 | 15 |
16 void FakeModelTypeProcessor::DisconnectSync() {} | 16 void FakeModelTypeProcessor::DisconnectSync() {} |
17 | 17 |
18 void FakeModelTypeProcessor::OnCommitCompleted( | 18 void FakeModelTypeProcessor::OnCommitCompleted( |
19 const sync_pb::DataTypeState& type_state, | 19 const sync_pb::DataTypeState& type_state, |
20 const CommitResponseDataList& response_list) {} | 20 const CommitResponseDataList& response_list) {} |
21 | 21 |
22 void FakeModelTypeProcessor::OnUpdateReceived( | 22 void FakeModelTypeProcessor::OnUpdateReceived( |
23 const sync_pb::DataTypeState& type_state, | 23 const sync_pb::DataTypeState& type_state, |
24 const UpdateResponseDataList& updates) {} | 24 const UpdateResponseDataList& updates) {} |
25 | 25 |
26 } // namespace syncer | 26 } // namespace syncer_v2 |
OLD | NEW |