summaryrefslogtreecommitdiffstats
path: root/net/base/upload_data.h
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-05 23:34:24 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-05 23:34:24 +0000
commit5389bc7ba5360633af04b9cf15497d56ce640ead (patch)
tree4518c05f3bad18a5b2f4739fc1a1c187651f9799 /net/base/upload_data.h
parent4070a6b1efcb2dbea12508a0b912cfa3bc86f47e (diff)
downloadchromium_src-5389bc7ba5360633af04b9cf15497d56ce640ead.zip
chromium_src-5389bc7ba5360633af04b9cf15497d56ce640ead.tar.gz
chromium_src-5389bc7ba5360633af04b9cf15497d56ce640ead.tar.bz2
Second patch in making destructors of refcounted objects private.
BUG=26749 Review URL: http://codereview.chromium.org/368001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31165 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/upload_data.h')
-rw-r--r--net/base/upload_data.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/base/upload_data.h b/net/base/upload_data.h
index f1d4369..02880d3 100644
--- a/net/base/upload_data.h
+++ b/net/base/upload_data.h
@@ -102,6 +102,10 @@ class UploadData : public base::RefCounted<UploadData> {
int64 identifier() const { return identifier_; }
private:
+ friend class base::RefCounted<UploadData>;
+
+ ~UploadData() {}
+
std::vector<Element> elements_;
int64 identifier_;
};