diff options
author | davidben@chromium.org <davidben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-18 15:44:05 +0000 |
---|---|---|
committer | davidben@chromium.org <davidben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-18 15:44:05 +0000 |
commit | b4a916070db5632e52244479ffd5bc717296b8d9 (patch) | |
tree | c3c8b16efac6fcc39950f343f4ad5923971a4f3d /net/spdy/spdy_http_utils.h | |
parent | 7aa5fe5abe8ee6c59f4a0ad8e5cac1701c4c9af2 (diff) | |
download | chromium_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/spdy/spdy_http_utils.h')
-rw-r--r-- | net/spdy/spdy_http_utils.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/net/spdy/spdy_http_utils.h b/net/spdy/spdy_http_utils.h index 6a91c888..34a0fcd 100644 --- a/net/spdy/spdy_http_utils.h +++ b/net/spdy/spdy_http_utils.h @@ -42,10 +42,6 @@ GURL GetUrlFromHeaderBlock(const SpdyHeaderBlock& headers, SpdyMajorVersion protocol_version, bool pushed); -// Returns true if the value of this header should be displayed. -NET_EXPORT_PRIVATE bool ShouldShowHttpHeaderValue( - const std::string& header_name); - NET_EXPORT_PRIVATE SpdyPriority ConvertRequestPriorityToSpdyPriority( RequestPriority priority, SpdyMajorVersion protocol_version); |