| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2011, 2012 Apple Inc. All r
ights reserved. | 2 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2011, 2012 Apple Inc. All r
ights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 21 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 24 */ | 24 */ |
| 25 | 25 |
| 26 #ifndef KURL_h | 26 #ifndef KURL_h |
| 27 #define KURL_h | 27 #define KURL_h |
| 28 | 28 |
| 29 #include "platform/PlatformExport.h" | 29 #include "platform/PlatformExport.h" |
| 30 #include "wtf/Forward.h" | 30 #include "wtf/Forward.h" |
| 31 #include "wtf/HashMap.h" | |
| 32 #include "wtf/HashTableDeletedValueType.h" | 31 #include "wtf/HashTableDeletedValueType.h" |
| 33 #include "wtf/OwnPtr.h" | 32 #include "wtf/OwnPtr.h" |
| 34 #include "wtf/text/CString.h" | |
| 35 #include "wtf/text/TextEncoding.h" | |
| 36 #include "wtf/text/WTFString.h" | 33 #include "wtf/text/WTFString.h" |
| 37 #include <url/third_party/mozilla/url_parse.h> | 34 #include <url/third_party/mozilla/url_parse.h> |
| 38 #include <url/url_canon.h> | 35 #include <url/url_canon.h> |
| 39 | 36 |
| 37 namespace WTF { |
| 38 class TextEncoding; |
| 39 } |
| 40 |
| 40 namespace WebCore { | 41 namespace WebCore { |
| 41 | 42 |
| 42 struct KURLHash; | 43 struct KURLHash; |
| 43 | 44 |
| 44 enum ParsedURLStringTag { ParsedURLString }; | 45 enum ParsedURLStringTag { ParsedURLString }; |
| 45 | 46 |
| 46 class PLATFORM_EXPORT KURL { | 47 class PLATFORM_EXPORT KURL { |
| 47 public: | 48 public: |
| 48 KURL() | 49 KURL() |
| 49 : m_isValid(false) | 50 : m_isValid(false) |
| (...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 268 | 269 |
| 269 // KURLHash is the default hash for String | 270 // KURLHash is the default hash for String |
| 270 template<typename T> struct DefaultHash; | 271 template<typename T> struct DefaultHash; |
| 271 template<> struct DefaultHash<WebCore::KURL> { | 272 template<> struct DefaultHash<WebCore::KURL> { |
| 272 typedef WebCore::KURLHash Hash; | 273 typedef WebCore::KURLHash Hash; |
| 273 }; | 274 }; |
| 274 | 275 |
| 275 } // namespace WTF | 276 } // namespace WTF |
| 276 | 277 |
| 277 #endif // KURL_h | 278 #endif // KURL_h |
| OLD | NEW |