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

Unified Diff: components/sync/test/engine/fake_model_worker.cc

Issue 2480203002: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Sync CL to position 430550 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
« no previous file with comments | « components/sync/test/engine/fake_model_worker.h ('k') | components/sync/tools/sync_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/test/engine/fake_model_worker.cc
diff --git a/components/sync/test/engine/fake_model_worker.cc b/components/sync/test/engine/fake_model_worker.cc
index e752d0e670ec8f76c2a4684e969f2fc1eb9fde66..418882631e9e53d4c613c03393c506214f5debc9 100644
--- a/components/sync/test/engine/fake_model_worker.cc
+++ b/components/sync/test/engine/fake_model_worker.cc
@@ -4,10 +4,11 @@
#include "components/sync/test/engine/fake_model_worker.h"
+#include "base/callback.h"
+
namespace syncer {
-FakeModelWorker::FakeModelWorker(ModelSafeGroup group)
- : ModelSafeWorker(nullptr), group_(group) {}
+FakeModelWorker::FakeModelWorker(ModelSafeGroup group) : group_(group) {}
FakeModelWorker::~FakeModelWorker() {
// We may need to relax this is FakeModelWorker is used in a
@@ -17,10 +18,6 @@ FakeModelWorker::~FakeModelWorker() {
DCHECK(CalledOnValidThread());
}
-void FakeModelWorker::RegisterForLoopDestruction() {
- NOTREACHED();
-}
-
SyncerError FakeModelWorker::DoWorkAndWaitUntilDoneImpl(
const WorkCallback& work) {
DCHECK(CalledOnValidThread());
« no previous file with comments | « components/sync/test/engine/fake_model_worker.h ('k') | components/sync/tools/sync_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698