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

Unified Diff: chrome/browser/sync/notifier/non_blocking_invalidation_notifier.h

Issue 6794005: Move sync notifier contruction out of syncer thread. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Rebase Created 9 years, 8 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
Index: chrome/browser/sync/notifier/non_blocking_invalidation_notifier.h
diff --git a/chrome/browser/sync/notifier/non_blocking_invalidation_notifier.h b/chrome/browser/sync/notifier/non_blocking_invalidation_notifier.h
index dfb7b4c2eaf3a1dbd0088e88625c6f828f57154a..4b6b3fdc5890832dc7f517b04528b2c34d44fe3e 100644
--- a/chrome/browser/sync/notifier/non_blocking_invalidation_notifier.h
+++ b/chrome/browser/sync/notifier/non_blocking_invalidation_notifier.h
@@ -93,6 +93,7 @@ class NonBlockingInvalidationNotifier : public SyncNotifier {
const notifier::NotifierOptions& notifier_options,
const std::string& client_info);
void DestroyWorkerThreadVars();
+ void CheckOrSetValidThread();
// Equivalents of the public functions that are run on the worker
// thread.
@@ -101,7 +102,8 @@ class NonBlockingInvalidationNotifier : public SyncNotifier {
const std::string& token);
void UpdateEnabledTypesOnWorkerThread(const syncable::ModelTypeSet& types);
- MessageLoop* parent_message_loop_;
+ MessageLoop* construction_message_loop_;
+ MessageLoop* method_message_loop_;
scoped_refptr<ObserverListThreadSafe<SyncNotifierObserver> > observers_;
« no previous file with comments | « chrome/browser/sync/glue/sync_backend_host.cc ('k') | chrome/browser/sync/notifier/non_blocking_invalidation_notifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698