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

Unified Diff: chrome/browser/chromeos/settings/session_manager_operation.h

Issue 572873002: Declaring the weak_ptr_factory in proper order. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: build break fixed 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/chromeos/settings/session_manager_operation.h
diff --git a/chrome/browser/chromeos/settings/session_manager_operation.h b/chrome/browser/chromeos/settings/session_manager_operation.h
index 66ba738c4533f33bfde35838832b890eebbc6ab3..194f9fea52d51bdea337bb33728bca5990dc6eec 100644
--- a/chrome/browser/chromeos/settings/session_manager_operation.h
+++ b/chrome/browser/chromeos/settings/session_manager_operation.h
@@ -117,8 +117,6 @@ class SessionManagerOperation {
SessionManagerClient* session_manager_client_;
scoped_refptr<ownership::OwnerKeyUtil> owner_key_util_;
- base::WeakPtrFactory<SessionManagerOperation> weak_factory_;
-
Callback callback_;
scoped_refptr<ownership::PublicKey> public_key_;
@@ -129,6 +127,8 @@ class SessionManagerOperation {
scoped_ptr<enterprise_management::PolicyData> policy_data_;
scoped_ptr<enterprise_management::ChromeDeviceSettingsProto> device_settings_;
+ base::WeakPtrFactory<SessionManagerOperation> weak_factory_;
+
DISALLOW_COPY_AND_ASSIGN(SessionManagerOperation);
};

Powered by Google App Engine
This is Rietveld 408576698