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

Unified Diff: components/sync_driver/model_association_manager.h

Issue 554233002: Refactoring the WeakPtrFactory usage, Member variables should appear before the WeakPtrFactory, to … (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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: components/sync_driver/model_association_manager.h
diff --git a/components/sync_driver/model_association_manager.h b/components/sync_driver/model_association_manager.h
index a29eea6a0b203a6aabc8cb93081fc3b76b05a006..ce209f4d1d2a81541393a310db2153d6e359cf85 100644
--- a/components/sync_driver/model_association_manager.h
+++ b/components/sync_driver/model_association_manager.h
@@ -146,10 +146,10 @@ class ModelAssociationManager {
// Timer to track and limit how long a datatype takes to model associate.
base::OneShotTimer<ModelAssociationManager> timer_;
- base::WeakPtrFactory<ModelAssociationManager> weak_ptr_factory_;
-
DataTypeManager::ConfigureStatus configure_status_;
+ base::WeakPtrFactory<ModelAssociationManager> weak_ptr_factory_;
+
DISALLOW_COPY_AND_ASSIGN(ModelAssociationManager);
};

Powered by Google App Engine
This is Rietveld 408576698