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

Side by Side Diff: url/url_canon.h

Issue 2159203002: Fix inconsistent values of anchor element IDL attributes compare to other vendors Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
« no previous file with comments | « url/third_party/mozilla/url_parse.cc ('k') | url/url_canon_etc.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef URL_URL_CANON_H_ 5 #ifndef URL_URL_CANON_H_
6 #define URL_URL_CANON_H_ 6 #define URL_URL_CANON_H_
7 7
8 #include <stdlib.h> 8 #include <stdlib.h>
9 #include <string.h> 9 #include <string.h>
10 10
(...skipping 552 matching lines...) Expand 10 before | Expand all | Expand 10 after
563 int spec_len, 563 int spec_len,
564 const Parsed& parsed, 564 const Parsed& parsed,
565 CanonOutput* output, 565 CanonOutput* output,
566 Parsed* new_parsed); 566 Parsed* new_parsed);
567 URL_EXPORT bool CanonicalizeMailtoURL(const base::char16* spec, 567 URL_EXPORT bool CanonicalizeMailtoURL(const base::char16* spec,
568 int spec_len, 568 int spec_len,
569 const Parsed& parsed, 569 const Parsed& parsed,
570 CanonOutput* output, 570 CanonOutput* output,
571 Parsed* new_parsed); 571 Parsed* new_parsed);
572 572
573 // Use for URLs with unknown, non standard schemes.
574 URL_EXPORT bool CanonicalizeNonStandardURL(const char* spec,
575 int spec_len,
576 const Parsed& parsed,
577 CharsetConverter* query_converter,
578 CanonOutput* output,
579 Parsed* new_parsed);
580 URL_EXPORT bool CanonicalizeNonStandardURL(const base::char16* spec,
581 int spec_len,
582 const Parsed& parsed,
583 CharsetConverter* query_converter,
584 CanonOutput* output,
585 Parsed* new_parsed);
586
573 // Part replacer -------------------------------------------------------------- 587 // Part replacer --------------------------------------------------------------
574 588
575 // Internal structure used for storing separate strings for each component. 589 // Internal structure used for storing separate strings for each component.
576 // The basic canonicalization functions use this structure internally so that 590 // The basic canonicalization functions use this structure internally so that
577 // component replacement (different strings for different components) can be 591 // component replacement (different strings for different components) can be
578 // treated on the same code path as regular canonicalization (the same string 592 // treated on the same code path as regular canonicalization (the same string
579 // for each component). 593 // for each component).
580 // 594 //
581 // A Parsed structure usually goes along with this. Those components identify 595 // A Parsed structure usually goes along with this. Those components identify
582 // offsets within these strings, so that they can all be in the same string, 596 // offsets within these strings, so that they can all be in the same string,
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
883 bool base_is_file, 897 bool base_is_file,
884 const base::char16* relative_url, 898 const base::char16* relative_url,
885 const Component& relative_component, 899 const Component& relative_component,
886 CharsetConverter* query_converter, 900 CharsetConverter* query_converter,
887 CanonOutput* output, 901 CanonOutput* output,
888 Parsed* out_parsed); 902 Parsed* out_parsed);
889 903
890 } // namespace url 904 } // namespace url
891 905
892 #endif // URL_URL_CANON_H_ 906 #endif // URL_URL_CANON_H_
OLDNEW
« no previous file with comments | « url/third_party/mozilla/url_parse.cc ('k') | url/url_canon_etc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698