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

Unified Diff: chrome/browser/sync/glue/session_model_associator.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: chrome/browser/sync/glue/session_model_associator.h
diff --git a/chrome/browser/sync/glue/session_model_associator.h b/chrome/browser/sync/glue/session_model_associator.h
index 5fd7ca5b8ad92d9a0aed8469a7eea6cc34eb46f9..54561ce888e53f14531bf2f5d81789e43d19f2d8 100644
--- a/chrome/browser/sync/glue/session_model_associator.h
+++ b/chrome/browser/sync/glue/session_model_associator.h
@@ -372,7 +372,6 @@ class SessionModelAssociator
// During integration tests, we sometimes need to block until a local change
// is made.
bool waiting_for_change_;
- base::WeakPtrFactory<SessionModelAssociator> test_weak_factory_;
// Profile being synced. Weak pointer.
Profile* const profile_;
@@ -382,6 +381,8 @@ class SessionModelAssociator
// Our favicon cache.
FaviconCache favicon_cache_;
+ base::WeakPtrFactory<SessionModelAssociator> test_weak_factory_;
+
DISALLOW_COPY_AND_ASSIGN(SessionModelAssociator);
};

Powered by Google App Engine
This is Rietveld 408576698