| 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 20 matching lines...) Expand all Loading... |
| 31 #include "wtf/HashTableDeletedValueType.h" | 31 #include "wtf/HashTableDeletedValueType.h" |
| 32 #include "wtf/OwnPtr.h" | 32 #include "wtf/OwnPtr.h" |
| 33 #include "wtf/text/WTFString.h" | 33 #include "wtf/text/WTFString.h" |
| 34 #include <url/third_party/mozilla/url_parse.h> | 34 #include <url/third_party/mozilla/url_parse.h> |
| 35 #include <url/url_canon.h> | 35 #include <url/url_canon.h> |
| 36 | 36 |
| 37 namespace WTF { | 37 namespace WTF { |
| 38 class TextEncoding; | 38 class TextEncoding; |
| 39 } | 39 } |
| 40 | 40 |
| 41 namespace WebCore { | 41 namespace blink { |
| 42 | 42 |
| 43 struct KURLHash; | 43 struct KURLHash; |
| 44 | 44 |
| 45 enum ParsedURLStringTag { ParsedURLString }; | 45 enum ParsedURLStringTag { ParsedURLString }; |
| 46 | 46 |
| 47 class PLATFORM_EXPORT KURL { | 47 class PLATFORM_EXPORT KURL { |
| 48 public: | 48 public: |
| 49 KURL(); | 49 KURL(); |
| 50 KURL(const KURL&); | 50 KURL(const KURL&); |
| 51 KURL& operator=(const KURL&); | 51 KURL& operator=(const KURL&); |
| (...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 258 inline bool operator!=(const KURL& a, const String& b) | 258 inline bool operator!=(const KURL& a, const String& b) |
| 259 { | 259 { |
| 260 return a.string() != b; | 260 return a.string() != b; |
| 261 } | 261 } |
| 262 | 262 |
| 263 inline bool operator!=(const String& a, const KURL& b) | 263 inline bool operator!=(const String& a, const KURL& b) |
| 264 { | 264 { |
| 265 return a != b.string(); | 265 return a != b.string(); |
| 266 } | 266 } |
| 267 | 267 |
| 268 } // namespace WebCore | 268 } // namespace blink |
| 269 | 269 |
| 270 namespace WTF { | 270 namespace WTF { |
| 271 | 271 |
| 272 // KURLHash is the default hash for String | 272 // KURLHash is the default hash for String |
| 273 template<typename T> struct DefaultHash; | 273 template<typename T> struct DefaultHash; |
| 274 template<> struct DefaultHash<WebCore::KURL> { | 274 template<> struct DefaultHash<blink::KURL> { |
| 275 typedef WebCore::KURLHash Hash; | 275 typedef blink::KURLHash Hash; |
| 276 }; | 276 }; |
| 277 | 277 |
| 278 } // namespace WTF | 278 } // namespace WTF |
| 279 | 279 |
| 280 #endif // KURL_h | 280 #endif // KURL_h |
| OLD | NEW |