#include "net/http/http_log_util.h"
#include "base/strings/string_util.h"
#include "base/strings/stringprintf.h"
#include "net/http/http_auth_challenge_tokenizer.h"
#include "net/http/http_auth_scheme.h"
#include "net/http/http_request_headers.h"
#include "net/http/http_response_headers.h"
#include "net/log/net_log_with_source.h"
namespace net {
namespace {
bool ShouldRedactChallenge(HttpAuthChallengeTokenizer* challenge) { … }
}
std::string ElideHeaderValueForNetLog(NetLogCaptureMode capture_mode,
const std::string& header,
const std::string& value) { … }
NET_EXPORT void NetLogResponseHeaders(const NetLogWithSource& net_log,
NetLogEventType type,
const HttpResponseHeaders* headers) { … }
void NetLogRequestHeaders(const NetLogWithSource& net_log,
NetLogEventType type,
const std::string& request_line,
const HttpRequestHeaders* headers) { … }
}