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

Side by Side Diff: url/url_canon_host.cc

Issue 1561693003: IWYU fixes for url/... Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Self-review. Created 4 years, 11 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
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 #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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698