summaryrefslogtreecommitdiffstats
path: root/net/base/net_log.h
diff options
context:
space:
mode:
authorrsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-29 00:11:41 +0000
committerrsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-29 00:11:41 +0000
commite0845d5f582add16baf03fcd32ef6f9001b3e347 (patch)
tree629981a80136ed3f3fefe4366e51bf76f4adf4ab /net/base/net_log.h
parentf89f3234d24b0e46bfa69139e6d4a5dae3acc8b5 (diff)
downloadchromium_src-e0845d5f582add16baf03fcd32ef6f9001b3e347.zip
chromium_src-e0845d5f582add16baf03fcd32ef6f9001b3e347.tar.gz
chromium_src-e0845d5f582add16baf03fcd32ef6f9001b3e347.tar.bz2
RefCounted types should not have public destructors, net/ edition
BUG=123295 TEST=existing Review URL: https://chromiumcodereview.appspot.com/10417002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139272 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/net_log.h')
-rw-r--r--net/base/net_log.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/base/net_log.h b/net/base/net_log.h
index 1984abf..777bdf5 100644
--- a/net/base/net_log.h
+++ b/net/base/net_log.h
@@ -121,7 +121,6 @@ class NET_EXPORT NetLog {
// Observers must stop watching a NetLog before either the Observer or the
// NetLog is destroyed.
ThreadSafeObserver();
- virtual ~ThreadSafeObserver();
// Returns the minimum log level for events this observer wants to
// receive. Must not be called when not watching a NetLog.
@@ -153,6 +152,9 @@ class NET_EXPORT NetLog {
EventPhase phase,
EventParameters* params) = 0;
+ protected:
+ virtual ~ThreadSafeObserver();
+
private:
friend class NetLog;