summaryrefslogtreecommitdiffstats
path: root/net/base/network_change_notifier_win.h
diff options
context:
space:
mode:
authorwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-21 22:40:35 +0000
committerwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-21 22:40:35 +0000
commit740e6bdb0b63c45e1e44d73f473f330b69853c1c (patch)
tree83e2ef11c38fe80cf3666de06cfc6f2a8b9181ef /net/base/network_change_notifier_win.h
parent3d8d1c9f38d1f4f26a56ad03d3fa920791bc50ea (diff)
downloadchromium_src-740e6bdb0b63c45e1e44d73f473f330b69853c1c.zip
chromium_src-740e6bdb0b63c45e1e44d73f473f330b69853c1c.tar.gz
chromium_src-740e6bdb0b63c45e1e44d73f473f330b69853c1c.tar.bz2
Pass in NetLog to NetworkChangeNotifier.
BUG=46822 Review URL: http://codereview.chromium.org/2857009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50402 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/network_change_notifier_win.h')
-rw-r--r--net/base/network_change_notifier_win.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/net/base/network_change_notifier_win.h b/net/base/network_change_notifier_win.h
index ba2f53dc..403377b 100644
--- a/net/base/network_change_notifier_win.h
+++ b/net/base/network_change_notifier_win.h
@@ -13,10 +13,12 @@
namespace net {
+class NetLog;
+
class NetworkChangeNotifierWin : public NetworkChangeNotifier,
public NonThreadSafe {
public:
- NetworkChangeNotifierWin();
+ explicit NetworkChangeNotifierWin(NetLog* net_log);
// Called by NetworkChangeNotifierWin::Impl.
void OnIPAddressChanged();
@@ -34,6 +36,7 @@ class NetworkChangeNotifierWin : public NetworkChangeNotifier,
// true so we assert that all observers have been removed.
ObserverList<Observer, false> observers_;
scoped_ptr<Impl> impl_;
+ NetLog* const net_log_;
DISALLOW_COPY_AND_ASSIGN(NetworkChangeNotifierWin);
};