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

Side by Side Diff: url/url_canon_etc.cc

Issue 1561693003: IWYU fixes for url/... Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Unedited changes made by the IWYU tool. 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 // Canonicalizers for random bits that aren't big enough for their own files. 5 // Canonicalizers for random bits that aren't big enough for their own files.
6 6
7 #include <string.h> 7 #include "base/strings/string16.h"
8 8 #include "url/third_party/mozilla/url_parse.h"
9 #include "url/url_canon.h" 9 #include "url/url_canon.h"
10 #include "url/url_canon_internal.h" 10 #include "url/url_canon_internal.h"
11 11
12 namespace url { 12 namespace url {
13 13
14 namespace { 14 namespace {
15 15
16 // Returns true if the given character should be removed from the middle of a 16 // Returns true if the given character should be removed from the middle of a
17 // URL. 17 // URL.
18 inline bool IsRemovableURLWhitespace(int ch) { 18 inline bool IsRemovableURLWhitespace(int ch) {
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after
358 } 358 }
359 359
360 void CanonicalizeRef(const base::char16* spec, 360 void CanonicalizeRef(const base::char16* spec,
361 const Component& ref, 361 const Component& ref,
362 CanonOutput* output, 362 CanonOutput* output,
363 Component* out_ref) { 363 Component* out_ref) {
364 DoCanonicalizeRef<base::char16, base::char16>(spec, ref, output, out_ref); 364 DoCanonicalizeRef<base::char16, base::char16>(spec, ref, output, out_ref);
365 } 365 }
366 366
367 } // namespace url 367 } // namespace url
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698