summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-19 20:02:45 +0000
committerwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-19 20:02:45 +0000
commite30a9ea6b6772448789e3999b1c482a1c907d159 (patch)
treee3e27a3204bfe20a513c0bb46a600eb0659a9979 /net
parent3ead1329dfad20de066dc5882df63b4ccc851608 (diff)
downloadchromium_src-e30a9ea6b6772448789e3999b1c482a1c907d159.zip
chromium_src-e30a9ea6b6772448789e3999b1c482a1c907d159.tar.gz
chromium_src-e30a9ea6b6772448789e3999b1c482a1c907d159.tar.bz2
Make URLRequestJob RefCounted instead of RefCountedThreadSafe.
BUG=63692 TEST=existing Review URL: http://codereview.chromium.org/5234003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66799 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r--net/url_request/url_request_job.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/net/url_request/url_request_job.h b/net/url_request/url_request_job.h
index ca69940..56496ed 100644
--- a/net/url_request/url_request_job.h
+++ b/net/url_request/url_request_job.h
@@ -30,10 +30,7 @@ class URLRequest;
class URLRequestStatus;
class URLRequestJobMetrics;
-// The URLRequestJob is using RefCounterThreadSafe because some sub classes
-// can be destroyed on multiple threads. This is the case of the
-// UrlRequestFileJob.
-class URLRequestJob : public base::RefCountedThreadSafe<URLRequestJob>,
+class URLRequestJob : public base::RefCounted<URLRequestJob>,
public FilterContext {
public:
// When histogramming results related to SDCH and/or an SDCH latency test, the
@@ -218,7 +215,7 @@ class URLRequestJob : public base::RefCountedThreadSafe<URLRequestJob>,
virtual void RecordPacketStats(StatisticSelector statistic) const;
protected:
- friend class base::RefCountedThreadSafe<URLRequestJob>;
+ friend class base::RefCounted<URLRequestJob>;
virtual ~URLRequestJob();
// Notifies the job that headers have been received.