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

Unified Diff: components/sync/engine/model_safe_worker_unittest.cc

Issue 2942773002: Task Scheduler API migration: change BrowserThreadModelWorker to SequencedModelWorker (Closed)
Patch Set: Updated more comments to reflect thread -> sequence migration. Created 3 years, 6 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/sync/engine/model_safe_worker.h ('k') | components/sync/engine/passive_model_worker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/engine/model_safe_worker_unittest.cc
diff --git a/components/sync/engine/model_safe_worker_unittest.cc b/components/sync/engine/model_safe_worker_unittest.cc
index b9e635836b2983feb768cbafaf4a453c0400b2b7..1de6012f8caeae09864ec849a929f0fbdd48e4e9 100644
--- a/components/sync/engine/model_safe_worker_unittest.cc
+++ b/components/sync/engine/model_safe_worker_unittest.cc
@@ -38,7 +38,7 @@ class MockModelSafeWorker : public ModelSafeWorker {
ModelSafeGroup GetModelSafeGroup() override { return GROUP_PASSIVE; }
- bool IsOnModelThread() override {
+ bool IsOnModelSequence() override {
return task_runner_->BelongsToCurrentThread();
}
« no previous file with comments | « components/sync/engine/model_safe_worker.h ('k') | components/sync/engine/passive_model_worker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698