summaryrefslogtreecommitdiffstats
path: root/net/base/network_change_notifier_mac.h
diff options
context:
space:
mode:
authorwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-12 19:30:00 +0000
committerwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-12 19:30:00 +0000
commit04f3b3a84c1ce914cf468e895cde685470775b49 (patch)
treef025eb9ca3e143fc45af7152f97d8ac250fced89 /net/base/network_change_notifier_mac.h
parent9e2565ee1b21c0ae681c1ead5570a327cb59501e (diff)
downloadchromium_src-04f3b3a84c1ce914cf468e895cde685470775b49.zip
chromium_src-04f3b3a84c1ce914cf468e895cde685470775b49.tar.gz
chromium_src-04f3b3a84c1ce914cf468e895cde685470775b49.tar.bz2
Change Mac to DCHECK if NetworkChangeNotifier observer list is not empty by destruction time.
Review URL: http://codereview.chromium.org/870003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41459 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/network_change_notifier_mac.h')
-rw-r--r--net/base/network_change_notifier_mac.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/net/base/network_change_notifier_mac.h b/net/base/network_change_notifier_mac.h
index 44d4806..01a491f 100644
--- a/net/base/network_change_notifier_mac.h
+++ b/net/base/network_change_notifier_mac.h
@@ -51,9 +51,7 @@ class NetworkChangeNotifierMac : public NetworkChangeNotifier {
// Receives the OS X network change notifications on this thread.
scoped_ptr<base::Thread> notifier_thread_;
- // TODO(willchan): Fix the URLRequestContextGetter leaks and flip the false to
- // true so we assert that all observers have been removed.
- ObserverList<Observer, false> observers_;
+ ObserverList<Observer, true> observers_;
// Used to initialize the notifier thread.
ScopedRunnableMethodFactory<NetworkChangeNotifierMac> method_factory_;