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

Unified Diff: chrome/browser/chromeos/policy/device_status_collector.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/device_status_collector.h
diff --git a/chrome/browser/chromeos/policy/device_status_collector.h b/chrome/browser/chromeos/policy/device_status_collector.h
index d4f70fe40fb7b4e90acb5b63ebec0d840650595d..7a77b0febae6efe696226aa07b0b281799c2fec5 100644
--- a/chrome/browser/chromeos/policy/device_status_collector.h
+++ b/chrome/browser/chromeos/policy/device_status_collector.h
@@ -165,8 +165,6 @@ class DeviceStatusCollector : public CloudPolicyClient::StatusProvider {
chromeos::CrosSettings* cros_settings_;
- base::WeakPtrFactory<DeviceStatusCollector> weak_factory_;
-
// TODO(bartfab): Remove this once crbug.com/125931 is addressed and a proper
// way to mock geolocation exists.
LocationUpdateRequester location_update_requester_;
@@ -195,6 +193,8 @@ class DeviceStatusCollector : public CloudPolicyClient::StatusProvider {
scoped_ptr<chromeos::CrosSettings::ObserverSubscription>
users_subscription_;
+ base::WeakPtrFactory<DeviceStatusCollector> weak_factory_;
+
DISALLOW_COPY_AND_ASSIGN(DeviceStatusCollector);
};
« no previous file with comments | « chrome/browser/chromeos/policy/app_pack_updater.cc ('k') | chrome/browser/chromeos/policy/device_status_collector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698