| Index: components/sync/driver/glue/ui_model_worker.cc
|
| diff --git a/components/sync/driver/glue/ui_model_worker.cc b/components/sync/driver/glue/ui_model_worker.cc
|
| index d9fccbe61902496e33a2e11d0b74c2aef8b7eba7..c812f9a9b54ed6b95cf0c974a3d07f778f2eac48 100644
|
| --- a/components/sync/driver/glue/ui_model_worker.cc
|
| +++ b/components/sync/driver/glue/ui_model_worker.cc
|
| @@ -62,6 +62,10 @@ ModelSafeGroup UIModelWorker::GetModelSafeGroup() {
|
| return GROUP_UI;
|
| }
|
|
|
| +bool UIModelWorker::IsOnModelThread() {
|
| + return ui_thread_->BelongsToCurrentThread();
|
| +}
|
| +
|
| UIModelWorker::~UIModelWorker() {}
|
|
|
| } // namespace syncer
|
|
|