diff options
author | jar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-19 23:39:03 +0000 |
---|---|---|
committer | jar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-19 23:39:03 +0000 |
commit | 284c373d43107741d1bad8c118b8e88774d533be (patch) | |
tree | a7d8ba14302b155129cbc9dd8426f7d9bffc6214 /net/url_request/url_request_http_job.cc | |
parent | c2b67266ba9a8ac0bc22a3c67966fe008dd2a20c (diff) | |
download | chromium_src-284c373d43107741d1bad8c118b8e88774d533be.zip chromium_src-284c373d43107741d1bad8c118b8e88774d533be.tar.gz chromium_src-284c373d43107741d1bad8c118b8e88774d533be.tar.bz2 |
Cleanup code to keep flag showing "was cached" only in URLRequestHttpJob
r=wtc
Review URL: http://codereview.chromium.org/113535
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16435 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/url_request/url_request_http_job.cc')
-rw-r--r-- | net/url_request/url_request_http_job.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/url_request/url_request_http_job.cc b/net/url_request/url_request_http_job.cc index 143b0a8..a86edbd 100644 --- a/net/url_request/url_request_http_job.cc +++ b/net/url_request/url_request_http_job.cc @@ -79,6 +79,9 @@ URLRequestHttpJob::~URLRequestHttpJob() { if (sdch_test_activated_) RecordPacketStats(SDCH_EXPERIMENT_DECODE); } + // Make sure SDCH filters are told to emit histogram data while this class + // can still service the IsCachedContent() call. + DestroyFilters(); if (sdch_dictionary_url_.is_valid()) { // Prior to reaching the destructor, request_ has been set to a NULL |