summaryrefslogtreecommitdiffstats
path: root/chrome/browser/net/url_fetcher.cc
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-06 01:55:48 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-06 01:55:48 +0000
commit7991a2336f3e5b975d5f31ffa24f129eb8bf32ad (patch)
tree52df10a63cfa787c42796566263fcb81c6517d4f /chrome/browser/net/url_fetcher.cc
parent6e82c3c6c3860a1005c96f4f6c138aa79a56d685 (diff)
downloadchromium_src-7991a2336f3e5b975d5f31ffa24f129eb8bf32ad.zip
chromium_src-7991a2336f3e5b975d5f31ffa24f129eb8bf32ad.tar.gz
chromium_src-7991a2336f3e5b975d5f31ffa24f129eb8bf32ad.tar.bz2
Seventh patch in making destructors of refcounted objects private.
BUG=26749 Review URL: http://codereview.chromium.org/371006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31192 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/net/url_fetcher.cc')
-rw-r--r--chrome/browser/net/url_fetcher.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/net/url_fetcher.cc b/chrome/browser/net/url_fetcher.cc
index 7d0aad7..600fb73 100644
--- a/chrome/browser/net/url_fetcher.cc
+++ b/chrome/browser/net/url_fetcher.cc
@@ -53,6 +53,10 @@ class URLFetcher::Core
URLFetcher::Delegate* delegate() const { return delegate_; }
private:
+ friend class base::RefCountedThreadSafe<URLFetcher::Core>;
+
+ ~Core() {}
+
// Wrapper functions that allow us to ensure actions happen on the right
// thread.
void StartURLRequest();