Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(25)

Side by Side Diff: components/sync/engine/ui_model_worker.cc

Issue 2503423004: [Sync] Move sync's ModelSafeWorker implementations to engine/. (Closed)
Patch Set: Rebase. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW
« no previous file with comments | « components/sync/engine/ui_model_worker.h ('k') | components/sync/engine/ui_model_worker_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698