| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/glue/ui_model_worker.h" | 5 #include "components/sync/engine/ui_model_worker.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/bind_helpers.h" | 10 #include "base/bind_helpers.h" |
| 11 #include "base/callback.h" | 11 #include "base/callback.h" |
| 12 #include "base/synchronization/waitable_event.h" | 12 #include "base/synchronization/waitable_event.h" |
| 13 #include "components/sync/base/scoped_event_signal.h" | 13 #include "components/sync/base/scoped_event_signal.h" |
| 14 | 14 |
| 15 namespace syncer { | 15 namespace syncer { |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 return GROUP_UI; | 62 return GROUP_UI; |
| 63 } | 63 } |
| 64 | 64 |
| 65 bool UIModelWorker::IsOnModelThread() { | 65 bool UIModelWorker::IsOnModelThread() { |
| 66 return ui_thread_->BelongsToCurrentThread(); | 66 return ui_thread_->BelongsToCurrentThread(); |
| 67 } | 67 } |
| 68 | 68 |
| 69 UIModelWorker::~UIModelWorker() {} | 69 UIModelWorker::~UIModelWorker() {} |
| 70 | 70 |
| 71 } // namespace syncer | 71 } // namespace syncer |
| OLD | NEW |