summaryrefslogtreecommitdiffstats
path: root/net/net.gyp
diff options
context:
space:
mode:
authordavidben@chromium.org <davidben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-18 15:44:05 +0000
committerdavidben@chromium.org <davidben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-18 15:44:05 +0000
commitb4a916070db5632e52244479ffd5bc717296b8d9 (patch)
treec3c8b16efac6fcc39950f343f4ad5923971a4f3d /net/net.gyp
parent7aa5fe5abe8ee6c59f4a0ad8e5cac1701c4c9af2 (diff)
downloadchromium_src-b4a916070db5632e52244479ffd5bc717296b8d9.zip
chromium_src-b4a916070db5632e52244479ffd5bc717296b8d9.tar.gz
chromium_src-b4a916070db5632e52244479ffd5bc717296b8d9.tar.bz2
Allow removing private data in chrome://net-export.
This introduces a new LogLevel, LOG_STRIP_PRIVATE_DATA, which callbacks within the network stack check to decide whether or not to report redacted data. Unfortunately, this involves duplicating the net-internals implementation, but that implementation isn't easily reusable given chrome://net-exports' constraints. Plumb this state through net-export and adjust the UI and state machine accordingly. Add various tests. This also moves HttpAuth::ChallengeTokenizer to HttpUtil::ChallengeTokenizer as some of the redaction logic reuses the parser. This avoids giving everything a dependency on HttpAuth. BUG=349502 Review URL: https://codereview.chromium.org/182523006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@257645 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/net.gyp')
-rw-r--r--net/net.gyp3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/net.gyp b/net/net.gyp
index 7e20f5f..bd408e2 100644
--- a/net/net.gyp
+++ b/net/net.gyp
@@ -595,6 +595,8 @@
'http/http_content_disposition.h',
'http/http_chunked_decoder.cc',
'http/http_chunked_decoder.h',
+ 'http/http_log_util.cc',
+ 'http/http_log_util.h',
'http/http_network_layer.cc',
'http/http_network_layer.h',
'http/http_network_session.cc',
@@ -1809,6 +1811,7 @@
'http/http_cache_unittest.cc',
'http/http_chunked_decoder_unittest.cc',
'http/http_content_disposition_unittest.cc',
+ 'http/http_log_util_unittest.cc',
'http/http_network_layer_unittest.cc',
'http/http_network_transaction_ssl_unittest.cc',
'http/http_network_transaction_unittest.cc',