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

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

Issue 10416003: RefCounted types should not have public destructors (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: One more fix Created 8 years, 6 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 | « content/browser/renderer_host/x509_user_cert_resource_handler.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/resource_response.h
diff --git a/content/public/common/resource_response.h b/content/public/common/resource_response.h
index 9a8e3a8a85e3afba4b03bff4d706a5d78accbe01..6699d45493bee604af827ee19fb5a1fb1d052b29 100644
--- a/content/public/common/resource_response.h
+++ b/content/public/common/resource_response.h
@@ -39,13 +39,14 @@ struct SyncLoadResult : ResourceResponseHead {
};
// Simple wrapper that refcounts ResourceResponseHead.
+// Inherited, rather than typedef'd, to allow forward declarations.
struct CONTENT_EXPORT ResourceResponse
- : public NON_EXPORTED_BASE(ResourceResponseHead),
- public base::RefCounted<ResourceResponse> {
+ : public base::RefCounted<ResourceResponse> {
+ public:
+ ResourceResponseHead head;
private:
friend class base::RefCounted<ResourceResponse>;
-
~ResourceResponse() {}
};
« no previous file with comments | « content/browser/renderer_host/x509_user_cert_resource_handler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698