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

Unified Diff: components/sync/driver/sync_client.h

Issue 2471183003: Do not observe MessageLoop destruction from ModelSafeWorker. (Closed)
Patch Set: CR maxbogue #22 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/driver/sync_client.h
diff --git a/components/sync/driver/sync_client.h b/components/sync/driver/sync_client.h
index f819bc23584ec2ed5d7fafbd3e0af024d89fef76..b1a7ae399d1aee4f36af0854ea62e0a512f935d8 100644
--- a/components/sync/driver/sync_client.h
+++ b/components/sync/driver/sync_client.h
@@ -104,8 +104,7 @@ class SyncClient {
// cannot be created.
// TODO(maxbogue): Move this inside SyncApiComponentFactory.
virtual scoped_refptr<ModelSafeWorker> CreateModelWorkerForGroup(
- ModelSafeGroup group,
- WorkerLoopDestructionObserver* observer) = 0;
+ ModelSafeGroup group) = 0;
// Returns the current SyncApiComponentFactory instance.
virtual SyncApiComponentFactory* GetSyncApiComponentFactory() = 0;

Powered by Google App Engine
This is Rietveld 408576698