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

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

Issue 2489433002: [Sync] Move thread checking into the ModelSafeWorker interface. (Closed)
Patch Set: Fix iOS hopefully. 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 side-by-side diff with in-line comments
Download patch
Index: components/sync/engine/passive_model_worker.cc
diff --git a/components/sync/engine/passive_model_worker.cc b/components/sync/engine/passive_model_worker.cc
index 623b31961526b5d5ec0bc078dc1d64c324bdbfd2..d8ad2dd65f380e3276751f67e39fcc0c8808bb70 100644
--- a/components/sync/engine/passive_model_worker.cc
+++ b/components/sync/engine/passive_model_worker.cc
@@ -22,4 +22,9 @@ ModelSafeGroup PassiveModelWorker::GetModelSafeGroup() {
return GROUP_PASSIVE;
}
+bool PassiveModelWorker::IsOnModelThread() {
+ NOTREACHED();
Nicolas Zea 2016/11/08 18:31:04 nit: maybe add a comment here about why this is in
maxbogue 2016/11/08 18:43:23 Done.
+ return false;
+}
+
} // namespace syncer

Powered by Google App Engine
This is Rietveld 408576698