Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(627)

Side by Side Diff: url/url_util_internal.h

Issue 15709011: Use a direct include of strings headers in url/, win8/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebas3e Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « url/url_util.h ('k') | win8/delegate_execute/chrome_util.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef URL_URL_UTIL_INTERNAL_H_ 5 #ifndef URL_URL_UTIL_INTERNAL_H_
6 #define URL_URL_UTIL_INTERNAL_H_ 6 #define URL_URL_UTIL_INTERNAL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/string16.h" 10 #include "base/strings/string16.h"
11 #include "url/url_parse.h" 11 #include "url/url_parse.h"
12 12
13 namespace url_util { 13 namespace url_util {
14 14
15 extern const char kFileScheme[]; 15 extern const char kFileScheme[];
16 extern const char kFileSystemScheme[]; 16 extern const char kFileSystemScheme[];
17 extern const char kMailtoScheme[]; 17 extern const char kMailtoScheme[];
18 18
19 // Given a string and a range inside the string, compares it to the given 19 // Given a string and a range inside the string, compares it to the given
20 // lower-case |compare_to| buffer. 20 // lower-case |compare_to| buffer.
21 bool CompareSchemeComponent(const char* spec, 21 bool CompareSchemeComponent(const char* spec,
22 const url_parse::Component& component, 22 const url_parse::Component& component,
23 const char* compare_to); 23 const char* compare_to);
24 bool CompareSchemeComponent(const char16* spec, 24 bool CompareSchemeComponent(const char16* spec,
25 const url_parse::Component& component, 25 const url_parse::Component& component,
26 const char* compare_to); 26 const char* compare_to);
27 27
28 } // namespace url_util 28 } // namespace url_util
29 29
30 #endif // URL_URL_UTIL_INTERNAL_H_ 30 #endif // URL_URL_UTIL_INTERNAL_H_
OLDNEW
« no previous file with comments | « url/url_util.h ('k') | win8/delegate_execute/chrome_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698