| 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/model_type_processor_proxy.h" | 5 #include "components/sync/engine/model_type_processor_proxy.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/location.h" | 10 #include "base/location.h" |
| 11 #include "components/sync/engine/commit_queue.h" | 11 #include "components/sync/engine/commit_queue.h" |
| 12 | 12 |
| 13 namespace syncer { | 13 namespace syncer { |
| 14 | 14 |
| 15 ModelTypeProcessorProxy::ModelTypeProcessorProxy( | 15 ModelTypeProcessorProxy::ModelTypeProcessorProxy( |
| (...skipping 24 matching lines...) Expand all Loading... |
| 40 | 40 |
| 41 void ModelTypeProcessorProxy::OnUpdateReceived( | 41 void ModelTypeProcessorProxy::OnUpdateReceived( |
| 42 const sync_pb::ModelTypeState& type_state, | 42 const sync_pb::ModelTypeState& type_state, |
| 43 const UpdateResponseDataList& updates) { | 43 const UpdateResponseDataList& updates) { |
| 44 task_runner_->PostTask( | 44 task_runner_->PostTask( |
| 45 FROM_HERE, base::Bind(&ModelTypeProcessor::OnUpdateReceived, processor_, | 45 FROM_HERE, base::Bind(&ModelTypeProcessor::OnUpdateReceived, processor_, |
| 46 type_state, updates)); | 46 type_state, updates)); |
| 47 } | 47 } |
| 48 | 48 |
| 49 } // namespace syncer | 49 } // namespace syncer |
| OLD | NEW |