[email protected] | 51bcc5d | 2013-04-24 01:41:37 | [diff] [blame] | 1 | // Copyright 2013 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. | ||||
[email protected] | e7bba5f8 | 2013-04-10 20:10:52 | [diff] [blame] | 4 | |
[email protected] | 318076b | 2013-04-18 21:19:45 | [diff] [blame] | 5 | #ifndef URL_URL_UTIL_INTERNAL_H_ |
6 | #define URL_URL_UTIL_INTERNAL_H_ | ||||
[email protected] | e7bba5f8 | 2013-04-10 20:10:52 | [diff] [blame] | 7 | |
tfarina | 018de6e | 2015-05-26 17:41:20 | [diff] [blame] | 8 | #include "url/third_party/mozilla/url_parse.h" |
[email protected] | e7bba5f8 | 2013-04-10 20:10:52 | [diff] [blame] | 9 | |
[email protected] | 0318f92 | 2014-04-22 00:09:23 | [diff] [blame] | 10 | namespace url { |
[email protected] | e7bba5f8 | 2013-04-10 20:10:52 | [diff] [blame] | 11 | |
[email protected] | e7bba5f8 | 2013-04-10 20:10:52 | [diff] [blame] | 12 | // Given a string and a range inside the string, compares it to the given |
13 | // lower-case |compare_to| buffer. | ||||
14 | bool CompareSchemeComponent(const char* spec, | ||||
[email protected] | 0318f92 | 2014-04-22 00:09:23 | [diff] [blame] | 15 | const Component& component, |
[email protected] | e7bba5f8 | 2013-04-10 20:10:52 | [diff] [blame] | 16 | const char* compare_to); |
Jan Wilken Dörrie | 5aad5c2 | 2021-03-08 21:44:12 | [diff] [blame] | 17 | bool CompareSchemeComponent(const char16_t* spec, |
[email protected] | 0318f92 | 2014-04-22 00:09:23 | [diff] [blame] | 18 | const Component& component, |
[email protected] | e7bba5f8 | 2013-04-10 20:10:52 | [diff] [blame] | 19 | const char* compare_to); |
20 | |||||
[email protected] | 0318f92 | 2014-04-22 00:09:23 | [diff] [blame] | 21 | } // namespace url |
[email protected] | e7bba5f8 | 2013-04-10 20:10:52 | [diff] [blame] | 22 | |
[email protected] | 318076b | 2013-04-18 21:19:45 | [diff] [blame] | 23 | #endif // URL_URL_UTIL_INTERNAL_H_ |