Index: third_party/WebKit/Source/platform/weborigin/KURL.h |
diff --git a/third_party/WebKit/Source/platform/weborigin/KURL.h b/third_party/WebKit/Source/platform/weborigin/KURL.h |
index ff5c68fa30783ba9cb190ee450a0785781b31d76..8d60dd40a3de68b21eb053fd27dfe6fc46bd2141 100644 |
--- a/third_party/WebKit/Source/platform/weborigin/KURL.h |
+++ b/third_party/WebKit/Source/platform/weborigin/KURL.h |
@@ -229,8 +229,13 @@ PLATFORM_EXPORT bool protocolIsJavaScript(const String& url); |
PLATFORM_EXPORT bool isValidProtocol(const String&); |
// Unescapes the given string using URL escaping rules, given an optional |
-// encoding (defaulting to UTF-8 otherwise). DANGER: If the URL has "%00" |
-// in it, the resulting string will have embedded null characters! |
+// encoding (defaulting to UTF-8 otherwise). |
+// |
+// DANGER: If the URL has "%00" in it, the resulting string will have embedded |
+// null characters! |
+// |
+// This function is also used to decode javascript: URLs and as a general |
+// purpose unescaping function. |
PLATFORM_EXPORT String decodeURLEscapeSequences(const String&); |
PLATFORM_EXPORT String decodeURLEscapeSequences(const String&, const WTF::TextEncoding&); |