Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_ANDROID_URL_SANITIZE_UTILS_H_ | |
| 6 #define CHROME_BROWSER_ANDROID_URL_SANITIZE_UTILS_H_ | |
| 7 | |
| 8 #include "url/gurl.h" | |
| 9 | |
| 10 namespace chrome { | |
| 11 namespace android { | |
| 12 | |
| 13 // Sanitizes a query part of |url|. | |
| 14 // This function escapes characters in a query part of |url| suitable for use as | |
| 15 // a URI query part. See RFC 2396 for the list of reserved characters. | |
|
asanka
2014/10/14 16:46:03
* Mention that this function escapes all but the s
Jaekyun Seok (inactive)
2014/10/15 08:02:25
Done.
| |
| 16 GURL SanitizeUrl(const GURL& url); | |
| 17 | |
| 18 } // namespace android | |
| 19 } // namespace chrome | |
| 20 | |
| 21 #endif // CHROME_BROWSER_ANDROID_URL_SANITIZE_UTILS_H_ | |
| OLD | NEW |