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

Unified Diff: components/metrics/net/network_metrics_provider.h

Issue 573623002: Code refactor related to WeakPtrFactory in src/components module (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
« no previous file with comments | « no previous file | components/web_cache/browser/web_cache_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/metrics/net/network_metrics_provider.h
diff --git a/components/metrics/net/network_metrics_provider.h b/components/metrics/net/network_metrics_provider.h
index 43a0318635f553d3035d25ac9622aaf0e1cd0012..29f0ed7723510393a8ce2977442b0d511c4360ec 100644
--- a/components/metrics/net/network_metrics_provider.h
+++ b/components/metrics/net/network_metrics_provider.h
@@ -66,11 +66,11 @@ class NetworkMetricsProvider
// net::GetWifiPHYLayerProtocol.
net::WifiPHYLayerProtocol wifi_phy_layer_protocol_;
- base::WeakPtrFactory<NetworkMetricsProvider> weak_ptr_factory_;
-
// Helper object for retrieving connected wifi access point information.
scoped_ptr<WifiAccessPointInfoProvider> wifi_access_point_info_provider_;
+ base::WeakPtrFactory<NetworkMetricsProvider> weak_ptr_factory_;
+
DISALLOW_COPY_AND_ASSIGN(NetworkMetricsProvider);
};
« no previous file with comments | « no previous file | components/web_cache/browser/web_cache_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698