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

Unified Diff: net/http/http_stream_factory_impl_job.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/http/http_stream_factory_impl_job.cc
diff --git a/net/http/http_stream_factory_impl_job.cc b/net/http/http_stream_factory_impl_job.cc
index f3ebf4a6027ccd65f58c6889cc64bd549dc67b5d..8625d37b00de9a32cfa00eb4242c6709bcdc1881 100644
--- a/net/http/http_stream_factory_impl_job.cc
+++ b/net/http/http_stream_factory_impl_job.cc
@@ -55,6 +55,7 @@ class HttpStreamJobParameters : public NetLog::EventParameters {
HttpStreamJobParameters(const GURL& original_url, const GURL& url)
: original_url_(original_url.GetOrigin().spec()),
url_(url.GetOrigin().spec()) {}
+ virtual ~HttpStreamJobParameters() {}
const std::string original_url_;
const std::string url_;
@@ -87,6 +88,7 @@ class HttpStreamProtoParameters : public NetLog::EventParameters {
: status_(status),
proto_(proto),
server_protos_(server_protos) {}
+ virtual ~HttpStreamProtoParameters() {}
const SSLClientSocket::NextProtoStatus status_;
const std::string proto_;

Powered by Google App Engine
This is Rietveld 408576698