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 IOS_NET_NSURLREQUEST_UTIL_H_
6 #define IOS_NET_NSURLREQUEST_UTIL_H_
8 #include <Foundation/Foundation.h>
13 // Takes an |NSURLRequest| and returns a string in the form:
14 // request:<url> request.mainDocURL:<mainDocumentURL>.
15 std::string
FormatUrlRequestForLogging(NSURLRequest
* request
);
19 #endif // IOS_NET_NSURLREQUEST_UTIL_H_