OLD | NEW |
(Empty) | |
| 1 // Copyright 2012 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. |
| 4 |
| 5 #ifndef IOS_NET_HTTP_PROTOCOL_LOGGING_H_ |
| 6 #define IOS_NET_HTTP_PROTOCOL_LOGGING_H_ |
| 7 |
| 8 @class NSURLRequest; |
| 9 @class NSURLResponse; |
| 10 |
| 11 namespace net { |
| 12 |
| 13 // Logs the request in DVLOG(2). |
| 14 void LogNSURLRequest(NSURLRequest* request); |
| 15 |
| 16 // Logs the response headers in DVLOG(2). |
| 17 void LogNSURLResponse(NSURLResponse* response); |
| 18 |
| 19 } // namespace http_protocol_logging |
| 20 |
| 21 #endif // IOS_NET_HTTP_PROTOCOL_LOGGING_H_ |
OLD | NEW |