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

Side by Side Diff: url/url_canon_query.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 #include "base/strings/string16.h"
6 #include "url/third_party/mozilla/url_parse.h"
5 #include "url/url_canon.h" 7 #include "url/url_canon.h"
6 #include "url/url_canon_internal.h" 8 #include "url/url_canon_internal.h"
7 9
8 // Query canonicalization in IE 10 // Query canonicalization in IE
9 // ---------------------------- 11 // ----------------------------
10 // IE is very permissive for query parameters specified in links on the page 12 // IE is very permissive for query parameters specified in links on the page
11 // (in contrast to links that it constructs itself based on form data). It does 13 // (in contrast to links that it constructs itself based on form data). It does
12 // not unescape any character. It does not reject any escape sequence (be they 14 // not unescape any character. It does not reject any escape sequence (be they
13 // invalid like "%2y" or freaky like %00). 15 // invalid like "%2y" or freaky like %00).
14 // 16 //
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 157
156 void ConvertUTF16ToQueryEncoding(const base::char16* input, 158 void ConvertUTF16ToQueryEncoding(const base::char16* input,
157 const Component& query, 159 const Component& query,
158 CharsetConverter* converter, 160 CharsetConverter* converter,
159 CanonOutput* output) { 161 CanonOutput* output) {
160 DoConvertToQueryEncoding<base::char16, base::char16>(input, query, 162 DoConvertToQueryEncoding<base::char16, base::char16>(input, query,
161 converter, output); 163 converter, output);
162 } 164 }
163 165
164 } // namespace url 166 } // namespace url
OLDNEW
« url/url_canon_icu.cc ('K') | « url/url_canon_pathurl.cc ('k') | url/url_canon_relative.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698