blob: 756c736d36901f2a33b66e7c689bae26efe1976b [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
8#include <string>
9
[email protected]516f0182013-06-11 22:51:5610#include "base/strings/string16.h"
tfarina018de6e2015-05-26 17:41:2011#include "url/third_party/mozilla/url_parse.h"
[email protected]e7bba5f82013-04-10 20:10:5212
[email protected]0318f922014-04-22 00:09:2313namespace url {
[email protected]e7bba5f82013-04-10 20:10:5214
[email protected]e7bba5f82013-04-10 20:10:5215// Given a string and a range inside the string, compares it to the given
16// lower-case |compare_to| buffer.
17bool CompareSchemeComponent(const char* spec,
[email protected]0318f922014-04-22 00:09:2318 const Component& component,
[email protected]e7bba5f82013-04-10 20:10:5219 const char* compare_to);
[email protected]3774f832013-06-11 21:21:5720bool CompareSchemeComponent(const base::char16* spec,
[email protected]0318f922014-04-22 00:09:2321 const Component& component,
[email protected]e7bba5f82013-04-10 20:10:5222 const char* compare_to);
23
[email protected]0318f922014-04-22 00:09:2324} // namespace url
[email protected]e7bba5f82013-04-10 20:10:5225
[email protected]318076b2013-04-18 21:19:4526#endif // URL_URL_UTIL_INTERNAL_H_