[Presentation API] Plumbing of |onstatechange| from the Mojo service to the public...
[chromium-blink-merge.git] / net / http / http_log_util.h
blobf18c6e737b98d3d98728f1066d1a5be00fcfaefe
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef NET_HTTP_HTTP_LOG_UTIL_
6 #define NET_HTTP_HTTP_LOG_UTIL_
8 #include <string>
10 #include "net/base/net_export.h"
11 #include "net/base/net_log.h"
13 namespace net {
15 // Given an HTTP header |header| with value |value|, returns the elided version
16 // of the header value at |log_level|.
17 NET_EXPORT_PRIVATE std::string ElideHeaderValueForNetLog(
18 NetLog::LogLevel log_level,
19 const std::string& header,
20 const std::string& value);
22 } // namespace net
24 #endif // NET_HTTP_HTTP_LOG_UTIL_