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

Unified Diff: net/proxy/multi_threaded_proxy_resolver.cc

Issue 10066045: RefCounted types should not have public destructors, net/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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
Index: net/proxy/multi_threaded_proxy_resolver.cc
diff --git a/net/proxy/multi_threaded_proxy_resolver.cc b/net/proxy/multi_threaded_proxy_resolver.cc
index e971f6c3645b5916455e739eada13f7b3cc3aa34..0d096e3c7c602a9b57e754a2752901bd9a8120e6 100644
--- a/net/proxy/multi_threaded_proxy_resolver.cc
+++ b/net/proxy/multi_threaded_proxy_resolver.cc
@@ -201,6 +201,8 @@ class MultiThreadedProxyResolver::SetPacScriptJob
}
private:
+ virtual ~SetPacScriptJob() {}
+
// Runs the completion callback on the origin thread.
void RequestComplete(int result_code) {
// The task may have been cancelled after it was started.
@@ -267,6 +269,8 @@ class MultiThreadedProxyResolver::GetProxyForURLJob
}
private:
+ virtual ~GetProxyForURLJob() {}
+
// Runs the completion callback on the origin thread.
void QueryComplete(int result_code) {
// The Job may have been cancelled after it was started.

Powered by Google App Engine
This is Rietveld 408576698