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

Unified Diff: chrome/browser/sync/test/engine/fake_model_safe_worker_registrar.cc

Issue 8785015: Revert 112815 - [Sync] Make syncer commands avoid posting tasks on threads with no work to do (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years 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: chrome/browser/sync/test/engine/fake_model_safe_worker_registrar.cc
===================================================================
--- chrome/browser/sync/test/engine/fake_model_safe_worker_registrar.cc (revision 112854)
+++ chrome/browser/sync/test/engine/fake_model_safe_worker_registrar.cc (working copy)
@@ -15,8 +15,6 @@
it != routes_.end(); ++it) {
groups.insert(it->second);
}
- // Sessions always expect a passive worker to be present.
- groups.insert(GROUP_PASSIVE);
for (std::set<ModelSafeGroup>::const_iterator it = groups.begin();
it != groups.end(); ++it) {
« no previous file with comments | « chrome/browser/sync/syncable/syncable_unittest.cc ('k') | chrome/browser/sync/test/engine/syncer_command_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698