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

Unified Diff: chrome/browser/sync/test_profile_sync_service.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/test_profile_sync_service.h
diff --git a/chrome/browser/sync/test_profile_sync_service.h b/chrome/browser/sync/test_profile_sync_service.h
index 999ea58ada4178968da3b9b8b7032253a549eceb..f62d8fddcb31b998f850529856fdc82f850f4c12 100644
--- a/chrome/browser/sync/test_profile_sync_service.h
+++ b/chrome/browser/sync/test_profile_sync_service.h
@@ -87,8 +87,6 @@ class SyncBackendHostForProfileSyncTest : public SyncBackendHost {
debug_info_listener,
syncer::ModelTypeSet restored_types);
- base::WeakPtrFactory<SyncBackendHostForProfileSyncTest> weak_ptr_factory_;
-
syncer::TestIdFactory& id_factory_;
// Invoked at the start of HandleSyncManagerInitializationOnFrontendLoop.
@@ -107,6 +105,8 @@ class SyncBackendHostForProfileSyncTest : public SyncBackendHost {
bool set_initial_sync_ended_on_init_;
bool synchronous_init_;
syncer::StorageOption storage_option_;
+
+ base::WeakPtrFactory<SyncBackendHostForProfileSyncTest> weak_ptr_factory_;
};
} // namespace browser_sync

Powered by Google App Engine
This is Rietveld 408576698