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

Unified Diff: content/public/common/url_fetcher_delegate.h

Issue 10417002: RefCounted types should not have public destructors, net/ edition (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
Index: content/public/common/url_fetcher_delegate.h
diff --git a/content/public/common/url_fetcher_delegate.h b/content/public/common/url_fetcher_delegate.h
index c46ee1777a938b484527467ee2c764fe9a3a90c5..4fb8505281c89072801f12439bf3d2626982db67 100644
--- a/content/public/common/url_fetcher_delegate.h
+++ b/content/public/common/url_fetcher_delegate.h
@@ -18,7 +18,10 @@ class URLFetcher;
// We inherit from net::URLFetcherDelegate so that we can still
// forward-declare URLFetcherDelegate (which we can't do with a
// typedef).
-class URLFetcherDelegate : public net::URLFetcherDelegate {};
+class URLFetcherDelegate : public net::URLFetcherDelegate {
+ protected:
+ virtual ~URLFetcherDelegate() {}
+};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698