blob: b2730b6c154c31aeef04671f3dea641e39a1e9a0 [file] [log] [blame]
[email protected]51bcc5d2013-04-24 01:41:371// 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]e7bba5f82013-04-10 20:10:524
[email protected]318076b2013-04-18 21:19:455#ifndef URL_URL_UTIL_INTERNAL_H_
6#define URL_URL_UTIL_INTERNAL_H_
[email protected]e7bba5f82013-04-10 20:10:527
tfarina018de6e2015-05-26 17:41:208#include "url/third_party/mozilla/url_parse.h"
[email protected]e7bba5f82013-04-10 20:10:529
[email protected]0318f922014-04-22 00:09:2310namespace url {
[email protected]e7bba5f82013-04-10 20:10:5211
[email protected]e7bba5f82013-04-10 20:10:5212// Given a string and a range inside the string, compares it to the given
13// lower-case |compare_to| buffer.
14bool CompareSchemeComponent(const char* spec,
[email protected]0318f922014-04-22 00:09:2315 const Component& component,
[email protected]e7bba5f82013-04-10 20:10:5216 const char* compare_to);
Jan Wilken Dörrie5aad5c22021-03-08 21:44:1217bool CompareSchemeComponent(const char16_t* spec,
[email protected]0318f922014-04-22 00:09:2318 const Component& component,
[email protected]e7bba5f82013-04-10 20:10:5219 const char* compare_to);
20
[email protected]0318f922014-04-22 00:09:2321} // namespace url
[email protected]e7bba5f82013-04-10 20:10:5222
[email protected]318076b2013-04-18 21:19:4523#endif // URL_URL_UTIL_INTERNAL_H_