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

Unified Diff: chrome/browser/policy/cloud/user_policy_signin_service_mobile.h

Issue 575993002: Fix WeakPtrFactory member ordering in chrome/browser (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: chrome/browser/policy/cloud/user_policy_signin_service_mobile.h
diff --git a/chrome/browser/policy/cloud/user_policy_signin_service_mobile.h b/chrome/browser/policy/cloud/user_policy_signin_service_mobile.h
index 7fc5ba6d0fb8606821710182b9a0bb757e56a13c..e0e8f80d7f14331e258c7a4e8e1d68ae7be09caf 100644
--- a/chrome/browser/policy/cloud/user_policy_signin_service_mobile.h
+++ b/chrome/browser/policy/cloud/user_policy_signin_service_mobile.h
@@ -92,7 +92,6 @@ class UserPolicySigninService : public UserPolicySigninServiceBase {
void OnRegistrationDone();
scoped_ptr<CloudPolicyClientRegistrationHelper> registration_helper_;
- base::WeakPtrFactory<UserPolicySigninService> weak_factory_;
// Weak pointer to the token service used to authenticate the
// CloudPolicyClient during registration.
@@ -101,6 +100,8 @@ class UserPolicySigninService : public UserPolicySigninServiceBase {
// The PrefService associated with the profile.
PrefService* profile_prefs_;
+ base::WeakPtrFactory<UserPolicySigninService> weak_factory_;
+
DISALLOW_COPY_AND_ASSIGN(UserPolicySigninService);
};

Powered by Google App Engine
This is Rietveld 408576698