diff options
author | Zeno Albisser <zeno.albisser@theqtcompany.com> | 2014-12-05 15:04:29 +0100 |
---|---|---|
committer | Andras Becsi <andras.becsi@theqtcompany.com> | 2014-12-09 10:49:28 +0100 |
commit | af6588f8d723931a298c995fa97259bb7f7deb55 (patch) | |
tree | 060ca707847ba1735f01af2372e0d5e494dc0366 /chromium/net/base/network_change_notifier_win.h | |
parent | 2fff84d821cc7b1c785f6404e0f8091333283e74 (diff) | |
download | qtwebengine-chromium-af6588f8d723931a298c995fa97259bb7f7deb55.tar.gz |
BASELINE: Update chromium to 40.0.2214.28 and ninja to 1.5.3.
Change-Id: I759465284fd64d59ad120219cbe257f7402c4181
Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
Diffstat (limited to 'chromium/net/base/network_change_notifier_win.h')
-rw-r--r-- | chromium/net/base/network_change_notifier_win.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/chromium/net/base/network_change_notifier_win.h b/chromium/net/base/network_change_notifier_win.h index 7b75c15dee3..9de1789f3d3 100644 --- a/chromium/net/base/network_change_notifier_win.h +++ b/chromium/net/base/network_change_notifier_win.h @@ -51,11 +51,11 @@ class NET_EXPORT_PRIVATE NetworkChangeNotifierWin friend class NetworkChangeNotifierWinTest; // NetworkChangeNotifier methods: - virtual ConnectionType GetCurrentConnectionType() const OVERRIDE; + virtual ConnectionType GetCurrentConnectionType() const override; // ObjectWatcher::Delegate methods: // Must only be called on the thread |this| was created on. - virtual void OnObjectSignaled(HANDLE object) OVERRIDE; + virtual void OnObjectSignaled(HANDLE object) override; // Does the actual work to determine the current connection type. // It is not thread safe, see crbug.com/324913. @@ -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); }; |