Chromium Code Reviews| Index: net/base/net_util.h |
| diff --git a/net/base/net_util.h b/net/base/net_util.h |
| index 6a498f63ceb11b4c6de157d2d07a9315330890d5..1bf6510122ccf1db15e1598180af962be7f50988 100644 |
| --- a/net/base/net_util.h |
| +++ b/net/base/net_util.h |
| @@ -11,16 +11,11 @@ |
| #include <string> |
| #include <vector> |
| -#include "base/strings/string16.h" |
| #include "base/strings/string_piece.h" |
| #include "net/base/net_export.h" |
| class GURL; |
| -namespace base { |
| -class Time; |
| -} |
| - |
| namespace url { |
| struct CanonHostInfo; |
| } |
| @@ -64,12 +59,6 @@ NET_EXPORT bool IsHostnameNonUnique(const std::string& hostname); |
| // Returns the hostname of the current system. Returns empty string on failure. |
| NET_EXPORT std::string GetHostName(); |
| -// Extracts the unescaped username/password from |url|, saving the results |
| -// into |*username| and |*password|. |
| -NET_EXPORT_PRIVATE void GetIdentityFromURL(const GURL& url, |
| - base::string16* username, |
| - base::string16* password); |
| - |
| // Returns either the host from |url|, or, if the host is empty, the full spec. |
| NET_EXPORT std::string GetHostOrSpecFromURL(const GURL& url); |
|
eroman
2016/01/13 20:21:02
This is a good candidate for url_util too
|