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

Unified Diff: chrome/browser/sync/glue/session_change_processor.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_change_processor.h
diff --git a/chrome/browser/sync/glue/session_change_processor.h b/chrome/browser/sync/glue/session_change_processor.h
index 6e527d5293297d7fac95368bb714ce73f0929537..d486234403b7f170c06996c1efa2d29efc4dee32 100644
--- a/chrome/browser/sync/glue/session_change_processor.h
+++ b/chrome/browser/sync/glue/session_change_processor.h
@@ -71,8 +71,6 @@ class SessionChangeProcessor : public ChangeProcessor,
void StartObserving();
- base::WeakPtrFactory<SessionChangeProcessor> weak_ptr_factory_;
-
SessionModelAssociator* session_model_associator_;
content::NotificationRegistrar notification_registrar_;
@@ -82,6 +80,8 @@ class SessionChangeProcessor : public ChangeProcessor,
// To bypass some checks/codepaths not applicable in tests.
bool setup_for_test_;
+ base::WeakPtrFactory<SessionChangeProcessor> weak_ptr_factory_;
+
DISALLOW_COPY_AND_ASSIGN(SessionChangeProcessor);
};

Powered by Google App Engine
This is Rietveld 408576698