| Index: net/base/url_util.h
|
| diff --git a/net/base/url_util.h b/net/base/url_util.h
|
| index cab75a9d72145f1d46cf3ecb47f56fb45443ab95..239a93cd4d742f0011dba1241064a4803b1bb11b 100644
|
| --- a/net/base/url_util.h
|
| +++ b/net/base/url_util.h
|
| @@ -8,6 +8,7 @@
|
| #include <string>
|
|
|
| #include "base/macros.h"
|
| +#include "base/strings/string16.h"
|
| #include "base/strings/string_piece.h"
|
| #include "net/base/net_export.h"
|
| #include "url/third_party/mozilla/url_parse.h"
|
| @@ -82,6 +83,12 @@ NET_EXPORT bool GetValueForKeyInQuery(const GURL& url,
|
| // Returns the hostname by trimming the ending dot, if one exists.
|
| NET_EXPORT std::string TrimEndingDot(const base::StringPiece& host);
|
|
|
| +// 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);
|
| +
|
| } // namespace net
|
|
|
| #endif // NET_BASE_URL_UTIL_H_
|
|
|