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

Unified Diff: sync/notifier/sync_invalidation_listener.h

Issue 26594002: Chrome sync: Put WeakPtrFactory members at the end (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge (see prior patch for try jobs) Created 7 years, 2 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: sync/notifier/sync_invalidation_listener.h
diff --git a/sync/notifier/sync_invalidation_listener.h b/sync/notifier/sync_invalidation_listener.h
index d280e2e5c6c9274b18a518e33c5f4518fb5373b9..7b7b2fd640b5c45a02feb97fb44ece46b79edfa5 100644
--- a/sync/notifier/sync_invalidation_listener.h
+++ b/sync/notifier/sync_invalidation_listener.h
@@ -165,7 +165,6 @@ class SYNC_EXPORT_PRIVATE SyncInvalidationListener
// AckTracker::Delegate implementation.
virtual void OnTimeout(const ObjectIdSet& ids) OVERRIDE;
- base::WeakPtrFactory<SyncInvalidationListener> weak_ptr_factory_;
AckTracker ack_tracker_;
// Owned by |sync_system_resources_|.
@@ -183,6 +182,8 @@ class SYNC_EXPORT_PRIVATE SyncInvalidationListener
InvalidatorState ticl_state_;
InvalidatorState push_client_state_;
+ base::WeakPtrFactory<SyncInvalidationListener> weak_ptr_factory_;
+
DISALLOW_COPY_AND_ASSIGN(SyncInvalidationListener);
};

Powered by Google App Engine
This is Rietveld 408576698