| 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 "base/logging.h" | 5 #include "base/logging.h" |
| 6 #include "base/strings/string16.h" |
| 7 #include "url/third_party/mozilla/url_parse.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 | 10 |
| 9 namespace url { | 11 namespace url { |
| 10 | 12 |
| 11 namespace { | 13 namespace { |
| 12 | 14 |
| 13 // For reference, here's what IE supports: | 15 // For reference, here's what IE supports: |
| 14 // Key: 0 (disallowed: failure if present in the input) | 16 // Key: 0 (disallowed: failure if present in the input) |
| 15 // + (allowed either escaped or unescaped, and unmodified) | 17 // + (allowed either escaped or unescaped, and unmodified) |
| (...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 390 } | 392 } |
| 391 | 393 |
| 392 void CanonicalizeHostVerbose(const base::char16* spec, | 394 void CanonicalizeHostVerbose(const base::char16* spec, |
| 393 const Component& host, | 395 const Component& host, |
| 394 CanonOutput* output, | 396 CanonOutput* output, |
| 395 CanonHostInfo* host_info) { | 397 CanonHostInfo* host_info) { |
| 396 DoHost<base::char16, base::char16>(spec, host, output, host_info); | 398 DoHost<base::char16, base::char16>(spec, host, output, host_info); |
| 397 } | 399 } |
| 398 | 400 |
| 399 } // namespace url | 401 } // namespace url |
| OLD | NEW |