| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/fake_data_type_controller.h" | 5 #include "components/sync_driver/fake_data_type_controller.h" |
| 6 | 6 |
| 7 #include "base/threading/thread_task_runner_handle.h" | 7 #include "base/threading/thread_task_runner_handle.h" |
| 8 #include "sync/api/sync_merge_result.h" | 8 #include "components/sync/api/sync_merge_result.h" |
| 9 #include "testing/gmock/include/gmock/gmock.h" | 9 #include "testing/gmock/include/gmock/gmock.h" |
| 10 #include "testing/gtest/include/gtest/gtest.h" | 10 #include "testing/gtest/include/gtest/gtest.h" |
| 11 | 11 |
| 12 using syncer::ModelType; | 12 using syncer::ModelType; |
| 13 | 13 |
| 14 namespace sync_driver { | 14 namespace sync_driver { |
| 15 | 15 |
| 16 FakeDataTypeController::FakeDataTypeController(ModelType type) | 16 FakeDataTypeController::FakeDataTypeController(ModelType type) |
| 17 : DirectoryDataTypeController(base::ThreadTaskRunnerHandle::Get(), | 17 : DirectoryDataTypeController(base::ThreadTaskRunnerHandle::Get(), |
| 18 base::Closure()), | 18 base::Closure()), |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 162 | 162 |
| 163 void FakeDataTypeController::SetReadyForStart(bool ready) { | 163 void FakeDataTypeController::SetReadyForStart(bool ready) { |
| 164 ready_for_start_ = ready; | 164 ready_for_start_ = ready; |
| 165 } | 165 } |
| 166 | 166 |
| 167 void FakeDataTypeController::SetShouldLoadModelBeforeConfigure(bool value) { | 167 void FakeDataTypeController::SetShouldLoadModelBeforeConfigure(bool value) { |
| 168 should_load_model_before_configure_ = value; | 168 should_load_model_before_configure_ = value; |
| 169 } | 169 } |
| 170 | 170 |
| 171 } // namespace sync_driver | 171 } // namespace sync_driver |
| OLD | NEW |