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

Side by Side Diff: url/url_canon_relative.cc

Issue 1561693003: IWYU fixes for url/... Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added IWYU-pragma-keep in a few places. 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 // Canonicalizer functions for working with and resolving relative URLs. 5 // Canonicalizer functions for working with and resolving relative URLs.
6 6
7 #include <ostream>
8
7 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/strings/string16.h"
11 #include "url/third_party/mozilla/url_parse.h"
8 #include "url/url_canon.h" 12 #include "url/url_canon.h"
9 #include "url/url_canon_internal.h" 13 #include "url/url_canon_internal.h"
10 #include "url/url_constants.h" 14 #include "url/url_constants.h"
11 #include "url/url_file.h" 15 #include "url/url_file.h" // IWYU pragma: keep
12 #include "url/url_parse_internal.h" 16 #include "url/url_parse_internal.h"
13 #include "url/url_util_internal.h" 17 #include "url/url_util_internal.h"
14 18
15 namespace url { 19 namespace url {
16 20
17 namespace { 21 namespace {
18 22
19 // Firefox does a case-sensitive compare (which is probably wrong--Mozilla bug 23 // Firefox does a case-sensitive compare (which is probably wrong--Mozilla bug
20 // 379034), whereas IE is case-insensitive. 24 // 379034), whereas IE is case-insensitive.
21 // 25 //
(...skipping 533 matching lines...) Expand 10 before | Expand all | Expand 10 after
555 const Component& relative_component, 559 const Component& relative_component,
556 CharsetConverter* query_converter, 560 CharsetConverter* query_converter,
557 CanonOutput* output, 561 CanonOutput* output,
558 Parsed* out_parsed) { 562 Parsed* out_parsed) {
559 return DoResolveRelativeURL<base::char16>( 563 return DoResolveRelativeURL<base::char16>(
560 base_url, base_parsed, base_is_file, relative_url, 564 base_url, base_parsed, base_is_file, relative_url,
561 relative_component, query_converter, output, out_parsed); 565 relative_component, query_converter, output, out_parsed);
562 } 566 }
563 567
564 } // namespace url 568 } // namespace url
OLDNEW
« url/url_canon_icu.cc ('K') | « url/url_canon_query.cc ('k') | url/url_canon_stdstring.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698