| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2011, 2012 Apple Inc. | 2 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2011, 2012 Apple Inc. |
| 3 * All rights reserved. | 3 * All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 195 void init(const KURL& base, | 195 void init(const KURL& base, |
| 196 const String& relative, | 196 const String& relative, |
| 197 const WTF::TextEncoding* queryEncoding); | 197 const WTF::TextEncoding* queryEncoding); |
| 198 | 198 |
| 199 String componentString(const url::Component&) const; | 199 String componentString(const url::Component&) const; |
| 200 String stringForInvalidComponent() const; | 200 String stringForInvalidComponent() const; |
| 201 | 201 |
| 202 template <typename CHAR> | 202 template <typename CHAR> |
| 203 void replaceComponents(const url::Replacements<CHAR>&); | 203 void replaceComponents(const url::Replacements<CHAR>&); |
| 204 | 204 |
| 205 template <typename CHAR> | |
| 206 void init(const KURL& base, | |
| 207 const CHAR* relative, | |
| 208 int relativeLength, | |
| 209 const WTF::TextEncoding* queryEncoding); | |
| 210 void initInnerURL(); | 205 void initInnerURL(); |
| 211 void initProtocolIsInHTTPFamily(); | 206 void initProtocolIsInHTTPFamily(); |
| 212 | 207 |
| 213 bool m_isValid; | 208 bool m_isValid; |
| 214 bool m_protocolIsInHTTPFamily; | 209 bool m_protocolIsInHTTPFamily; |
| 215 url::Parsed m_parsed; | 210 url::Parsed m_parsed; |
| 216 String m_string; | 211 String m_string; |
| 217 std::unique_ptr<KURL> m_innerURL; | 212 std::unique_ptr<KURL> m_innerURL; |
| 218 }; | 213 }; |
| 219 | 214 |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 286 | 281 |
| 287 // KURLHash is the default hash for String | 282 // KURLHash is the default hash for String |
| 288 template <> | 283 template <> |
| 289 struct DefaultHash<blink::KURL> { | 284 struct DefaultHash<blink::KURL> { |
| 290 typedef blink::KURLHash Hash; | 285 typedef blink::KURLHash Hash; |
| 291 }; | 286 }; |
| 292 | 287 |
| 293 } // namespace WTF | 288 } // namespace WTF |
| 294 | 289 |
| 295 #endif // KURL_h | 290 #endif // KURL_h |
| OLD | NEW |