| 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/data_type_controller.h" | 5 #include "components/sync_driver/data_type_controller.h" |
| 6 | 6 |
| 7 #include "sync/internal_api/public/base/model_type.h" | 7 #include "components/sync/base/data_type_histogram.h" |
| 8 #include "sync/internal_api/public/user_share.h" | 8 #include "components/sync/base/model_type.h" |
| 9 #include "sync/util/data_type_histogram.h" | 9 #include "components/sync/core/user_share.h" |
| 10 | 10 |
| 11 namespace sync_driver { | 11 namespace sync_driver { |
| 12 | 12 |
| 13 DataTypeController::DataTypeController( | 13 DataTypeController::DataTypeController( |
| 14 const scoped_refptr<base::SingleThreadTaskRunner>& ui_thread, | 14 const scoped_refptr<base::SingleThreadTaskRunner>& ui_thread, |
| 15 const base::Closure& error_callback) | 15 const base::Closure& error_callback) |
| 16 : base::RefCountedDeleteOnMessageLoop<DataTypeController>(ui_thread), | 16 : base::RefCountedDeleteOnMessageLoop<DataTypeController>(ui_thread), |
| 17 error_callback_(error_callback), | 17 error_callback_(error_callback), |
| 18 ui_thread_(ui_thread) {} | 18 ui_thread_(ui_thread) {} |
| 19 | 19 |
| (...skipping 18 matching lines...) Expand all Loading... |
| 38 syncer::SyncError::DATATYPE_ERROR, | 38 syncer::SyncError::DATATYPE_ERROR, |
| 39 message, | 39 message, |
| 40 type); | 40 type); |
| 41 } | 41 } |
| 42 | 42 |
| 43 bool DataTypeController::ReadyForStart() const { | 43 bool DataTypeController::ReadyForStart() const { |
| 44 return true; | 44 return true; |
| 45 } | 45 } |
| 46 | 46 |
| 47 } // namespace sync_driver | 47 } // namespace sync_driver |
| OLD | NEW |