OLD | NEW |
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 #include <limits.h> | 5 #include <limits.h> |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "base/strings/string16.h" |
| 9 #include "url/third_party/mozilla/url_parse.h" |
8 #include "url/url_canon.h" | 10 #include "url/url_canon.h" |
9 #include "url/url_canon_internal.h" | 11 #include "url/url_canon_internal.h" |
10 #include "url/url_parse_internal.h" | 12 #include "url/url_parse_internal.h" |
11 | 13 |
12 namespace url { | 14 namespace url { |
13 | 15 |
14 namespace { | 16 namespace { |
15 | 17 |
16 enum CharacterFlags { | 18 enum CharacterFlags { |
17 // Pass through unchanged, whether escaped or unescaped. This doesn't | 19 // Pass through unchanged, whether escaped or unescaped. This doesn't |
(...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
428 bool CanonicalizePartialPath(const base::char16* spec, | 430 bool CanonicalizePartialPath(const base::char16* spec, |
429 const Component& path, | 431 const Component& path, |
430 int path_begin_in_output, | 432 int path_begin_in_output, |
431 CanonOutput* output) { | 433 CanonOutput* output) { |
432 return DoPartialPath<base::char16, base::char16>(spec, path, | 434 return DoPartialPath<base::char16, base::char16>(spec, path, |
433 path_begin_in_output, | 435 path_begin_in_output, |
434 output); | 436 output); |
435 } | 437 } |
436 | 438 |
437 } // namespace url | 439 } // namespace url |
OLD | NEW |