Have pretty_print.py find histograms.xml.
[chromium-blink-merge.git] / url / url_util_internal.h
blobaf913893958327dc70cdb5dc3b5bfd975eeeffb1
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.
5 #ifndef URL_URL_UTIL_INTERNAL_H_
6 #define URL_URL_UTIL_INTERNAL_H_
8 #include <string>
10 #include "base/strings/string16.h"
11 #include "url/url_parse.h"
13 namespace url_util {
15 extern const char kFileScheme[];
16 extern const char kFileSystemScheme[];
17 extern const char kMailtoScheme[];
19 // Given a string and a range inside the string, compares it to the given
20 // lower-case |compare_to| buffer.
21 bool CompareSchemeComponent(const char* spec,
22 const url_parse::Component& component,
23 const char* compare_to);
24 bool CompareSchemeComponent(const base::char16* spec,
25 const url_parse::Component& component,
26 const char* compare_to);
28 } // namespace url_util
30 #endif // URL_URL_UTIL_INTERNAL_H_