summaryrefslogtreecommitdiffstats
path: root/net/url_request
diff options
context:
space:
mode:
authoreroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-31 21:07:33 +0000
committereroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-31 21:07:33 +0000
commit095c7cfacf4a59d5241a17207d7a8a8096469334 (patch)
tree7eb71d968ae4dc9705ba5e9c5ad1b1727f34b2fc /net/url_request
parent701142a4edf3872fc9b433b68bdaf2c0a3c22db8 (diff)
downloadchromium_src-095c7cfacf4a59d5241a17207d7a8a8096469334.zip
chromium_src-095c7cfacf4a59d5241a17207d7a8a8096469334.tar.gz
chromium_src-095c7cfacf4a59d5241a17207d7a8a8096469334.tar.bz2
Fix a regression whereby full-granularity network events were being captured by PassiveLogCollector.
BUG=53883 TEST=Load a webpage. Now open about:net-internals and verify that the log for that URL does NOT contain the HTTP request/response headers. Review URL: http://codereview.chromium.org/3274016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58070 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/url_request')
-rw-r--r--net/url_request/url_request.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/url_request/url_request.cc b/net/url_request/url_request.cc
index c87d9a3..b4f9d51 100644
--- a/net/url_request/url_request.cc
+++ b/net/url_request/url_request.cc
@@ -490,7 +490,7 @@ void URLRequest::OrphanJob() {
}
int URLRequest::Redirect(const GURL& location, int http_status_code) {
- if (net_log_.HasListener()) {
+ if (net_log_.IsLoggingAll()) {
net_log_.AddEvent(
net::NetLog::TYPE_URL_REQUEST_REDIRECTED,
new net::NetLogStringParameter(