OLD | NEW |
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 |
11 #include "base/strings/string16.h" | 11 #include "base/strings/string16.h" |
| 12 #include "url/third_party/mozilla/url_parse.h" |
12 #include "url/url_export.h" | 13 #include "url/url_export.h" |
13 #include "url/url_parse.h" | |
14 | 14 |
15 namespace url { | 15 namespace url { |
16 | 16 |
17 // Canonicalizer output ------------------------------------------------------- | 17 // Canonicalizer output ------------------------------------------------------- |
18 | 18 |
19 // Base class for the canonicalizer output, this maintains a buffer and | 19 // Base class for the canonicalizer output, this maintains a buffer and |
20 // supports simple resizing and append operations on it. | 20 // supports simple resizing and append operations on it. |
21 // | 21 // |
22 // It is VERY IMPORTANT that no virtual function calls be made on the common | 22 // It is VERY IMPORTANT that no virtual function calls be made on the common |
23 // code path. We only have two virtual function calls, the destructor and a | 23 // code path. We only have two virtual function calls, the destructor and a |
(...skipping 859 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
883 bool base_is_file, | 883 bool base_is_file, |
884 const base::char16* relative_url, | 884 const base::char16* relative_url, |
885 const Component& relative_component, | 885 const Component& relative_component, |
886 CharsetConverter* query_converter, | 886 CharsetConverter* query_converter, |
887 CanonOutput* output, | 887 CanonOutput* output, |
888 Parsed* out_parsed); | 888 Parsed* out_parsed); |
889 | 889 |
890 } // namespace url | 890 } // namespace url |
891 | 891 |
892 #endif // URL_URL_CANON_H_ | 892 #endif // URL_URL_CANON_H_ |
OLD | NEW |