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

Unified Diff: chrome/browser/net/passive_log_collector.h

Issue 7064033: Virtual destructors should have virtual keyword. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 7 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 | « chrome/browser/net/net_pref_observer.h ('k') | chrome/browser/net/url_request_failed_dns_job.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/net/passive_log_collector.h
diff --git a/chrome/browser/net/passive_log_collector.h b/chrome/browser/net/passive_log_collector.h
index 2e541f5ee664bb49cc9826a3a26de21b6b7f8c16..d2090319c5d4b42e15a5112afa2124273c7de090 100644
--- a/chrome/browser/net/passive_log_collector.h
+++ b/chrome/browser/net/passive_log_collector.h
@@ -90,7 +90,7 @@ class PassiveLogCollector : public ChromeNetLog::ThreadSafeObserver {
class GlobalSourceTracker : public SourceTrackerInterface {
public:
GlobalSourceTracker();
- ~GlobalSourceTracker();
+ virtual ~GlobalSourceTracker();
// SourceTrackerInterface implementation:
virtual void OnAddEntry(const ChromeNetLog::Entry& entry);
@@ -343,7 +343,7 @@ class PassiveLogCollector : public ChromeNetLog::ThreadSafeObserver {
PassiveLogCollector();
- ~PassiveLogCollector();
+ virtual ~PassiveLogCollector();
// ThreadSafeObserver implementation:
virtual void OnAddEntry(net::NetLog::EventType type,
« no previous file with comments | « chrome/browser/net/net_pref_observer.h ('k') | chrome/browser/net/url_request_failed_dns_job.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698