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

Unified Diff: components/browser_sync/profile_sync_service.h

Issue 2489433002: [Sync] Move thread checking into the ModelSafeWorker interface. (Closed)
Patch Set: Improve/add comments. 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/browser_sync/profile_sync_service.h
diff --git a/components/browser_sync/profile_sync_service.h b/components/browser_sync/profile_sync_service.h
index 7dfd9dee7ac284104dd9f6d1f4cb9c0ca945fed4..9ef6d1869fc911b5a23c440cba5357ffb8065414 100644
--- a/components/browser_sync/profile_sync_service.h
+++ b/components/browser_sync/profile_sync_service.h
@@ -245,8 +245,6 @@ class ProfileSyncService : public syncer::SyncService,
scoped_refptr<net::URLRequestContextGetter> url_request_context;
std::string debug_identifier;
version_info::Channel channel = version_info::Channel::UNKNOWN;
- scoped_refptr<base::SingleThreadTaskRunner> db_thread;
- scoped_refptr<base::SingleThreadTaskRunner> file_thread;
base::SequencedWorkerPool* blocking_pool = nullptr;
private:
@@ -826,8 +824,6 @@ class ProfileSyncService : public syncer::SyncService,
version_info::Channel channel_;
// Threading context.
- scoped_refptr<base::SingleThreadTaskRunner> db_thread_;
- scoped_refptr<base::SingleThreadTaskRunner> file_thread_;
base::SequencedWorkerPool* blocking_pool_;
// Indicates if this is the first time sync is being configured. This value

Powered by Google App Engine
This is Rietveld 408576698