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> |
| 6 |
5 #include "base/logging.h" | 7 #include "base/logging.h" |
6 #include "url/url_canon.h" | 8 #include "url/url_canon.h" |
7 #include "url/url_canon_internal.h" | 9 #include "url/url_canon_internal.h" |
8 #include "url/url_parse_internal.h" | 10 #include "url/url_parse_internal.h" |
9 | 11 |
10 namespace url { | 12 namespace url { |
11 | 13 |
12 namespace { | 14 namespace { |
13 | 15 |
14 enum CharacterFlags { | 16 enum CharacterFlags { |
(...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
426 bool CanonicalizePartialPath(const base::char16* spec, | 428 bool CanonicalizePartialPath(const base::char16* spec, |
427 const Component& path, | 429 const Component& path, |
428 int path_begin_in_output, | 430 int path_begin_in_output, |
429 CanonOutput* output) { | 431 CanonOutput* output) { |
430 return DoPartialPath<base::char16, base::char16>(spec, path, | 432 return DoPartialPath<base::char16, base::char16>(spec, path, |
431 path_begin_in_output, | 433 path_begin_in_output, |
432 output); | 434 output); |
433 } | 435 } |
434 | 436 |
435 } // namespace url | 437 } // namespace url |
OLD | NEW |