1 // Copyright 2013 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef URL_URL_UTIL_INTERNAL_H_
6 #define URL_URL_UTIL_INTERNAL_H_
8 #include "url/third_party/mozilla/url_parse.h"
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,
15 const Component& component,
16 const char* compare_to);
17 bool CompareSchemeComponent(const char16_t* spec,
18 const Component& component,
19 const char* compare_to);
23 #endif // URL_URL_UTIL_INTERNAL_H_