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

Unified Diff: chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.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/policy/user_cloud_policy_store_chromeos.h
diff --git a/chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.h b/chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.h
index 06f71d51c53f436acec7598bedda3b224078a7e1..65d38328916d949a382514ed4b562fb67071d84b 100644
--- a/chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.h
+++ b/chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.h
@@ -128,8 +128,6 @@ class UserCloudPolicyStoreChromeOS : public UserCloudPolicyStoreBase {
const std::string username_;
base::FilePath user_policy_key_dir_;
- base::WeakPtrFactory<UserCloudPolicyStoreChromeOS> weak_factory_;
-
// TODO(mnissler): Remove all the legacy policy support members below after
// the number of pre-M20 clients drops back to zero.
base::FilePath legacy_cache_dir_;
@@ -140,6 +138,8 @@ class UserCloudPolicyStoreChromeOS : public UserCloudPolicyStoreBase {
base::FilePath policy_key_path_;
std::string policy_key_;
+ base::WeakPtrFactory<UserCloudPolicyStoreChromeOS> weak_factory_;
+
DISALLOW_COPY_AND_ASSIGN(UserCloudPolicyStoreChromeOS);
};

Powered by Google App Engine
This is Rietveld 408576698