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

Unified Diff: net/base/network_change_notifier_win.h

Issue 506523002: net : Declaring the weak_ptr_factory in proper order. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 6 years, 4 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 | net/base/sdch_dictionary_fetcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/network_change_notifier_win.h
diff --git a/net/base/network_change_notifier_win.h b/net/base/network_change_notifier_win.h
index 7b75c15dee3e12a0db788bd22b1a548bd28b7447..4ded749780946e8d04a8c9d196b46c8fdac04fe2 100644
--- a/net/base/network_change_notifier_win.h
+++ b/net/base/network_change_notifier_win.h
@@ -95,9 +95,6 @@ class NET_EXPORT_PRIVATE NetworkChangeNotifierWin
// Number of times WatchForAddressChange has failed in a row.
int sequential_failures_;
- // Used for calling WatchForAddressChange again on failure.
- base::WeakPtrFactory<NetworkChangeNotifierWin> weak_factory_;
-
// Thread on which we can run DnsConfigService.
scoped_ptr<DnsConfigServiceThread> dns_config_service_thread_;
@@ -110,6 +107,9 @@ class NET_EXPORT_PRIVATE NetworkChangeNotifierWin
// Number of times polled to check if still offline.
int offline_polls_;
+ // Used for calling WatchForAddressChange again on failure.
+ base::WeakPtrFactory<NetworkChangeNotifierWin> weak_factory_;
+
DISALLOW_COPY_AND_ASSIGN(NetworkChangeNotifierWin);
};
« no previous file with comments | « no previous file | net/base/sdch_dictionary_fetcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698