Index: net/url_request/url_request_job.h |
=================================================================== |
--- net/url_request/url_request_job.h (revision 31079) |
+++ net/url_request/url_request_job.h (working copy) |
@@ -41,7 +41,6 @@ |
static const size_t kSdchPacketHistogramCount = 5; |
explicit URLRequestJob(URLRequest* request); |
- virtual ~URLRequestJob(); |
// Returns the request that owns this job. THIS POINTER MAY BE NULL if the |
// request was destroyed. |
@@ -218,6 +217,9 @@ |
virtual void RecordPacketStats(StatisticSelector statistic) const; |
protected: |
+ friend class base::RefCountedThreadSafe<URLRequestJob>; |
+ virtual ~URLRequestJob(); |
+ |
// Notifies the job that headers have been received. |
void NotifyHeadersComplete(); |