summaryrefslogtreecommitdiffstats
path: root/net/base/net_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/base/net_util.h')
-rw-r--r--net/base/net_util.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/net/base/net_util.h b/net/base/net_util.h
index 4320e1c..0e247b8 100644
--- a/net/base/net_util.h
+++ b/net/base/net_util.h
@@ -225,6 +225,11 @@ inline std::wstring FormatUrl(const GURL& url, const std::wstring& languages) {
return FormatUrl(url, languages, true, UnescapeRule::SPACES, NULL, NULL);
}
+// Strip the portions of |url| that aren't core to the network request.
+// - user name / password
+// - reference section
+GURL SimplifyUrlForRequest(const GURL& url);
+
} // namespace net
#endif // NET_BASE_NET_UTIL_H__