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

Unified Diff: sync/test/engine/fake_model_worker.h

Issue 14046031: Worker changes to prepare for lock-free shutdown. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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 | « sync/sessions/sync_session_context.cc ('k') | sync/test/engine/fake_model_worker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/test/engine/fake_model_worker.h
diff --git a/sync/test/engine/fake_model_worker.h b/sync/test/engine/fake_model_worker.h
index 7b7bd4b1a0dd48a743e81bea2c074c4c1be8c5bc..9c621be7bac2d44460ce2c64269b321b118e411e 100644
--- a/sync/test/engine/fake_model_worker.h
+++ b/sync/test/engine/fake_model_worker.h
@@ -22,10 +22,13 @@ class FakeModelWorker : public ModelSafeWorker, public base::NonThreadSafe {
explicit FakeModelWorker(ModelSafeGroup group);
// ModelSafeWorker implementation.
- virtual SyncerError DoWorkAndWaitUntilDone(
- const WorkCallback& work) OVERRIDE;
+ virtual void RegisterForLoopDestruction() OVERRIDE;
virtual ModelSafeGroup GetModelSafeGroup() OVERRIDE;
+ protected:
+ virtual SyncerError DoWorkAndWaitUntilDoneImpl(
+ const WorkCallback& work) OVERRIDE;
+
private:
virtual ~FakeModelWorker();
« no previous file with comments | « sync/sessions/sync_session_context.cc ('k') | sync/test/engine/fake_model_worker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698