| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2011 Apple Inc. All rights
reserved. | 2 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2011 Apple Inc. All rights
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 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 KURL(const QUrl&); | 215 KURL(const QUrl&); |
| 216 operator QUrl() const; | 216 operator QUrl() const; |
| 217 #endif | 217 #endif |
| 218 | 218 |
| 219 #if USE(GOOGLEURL) | 219 #if USE(GOOGLEURL) |
| 220 // Getters for the parsed structure and its corresponding 8-bit string. | 220 // Getters for the parsed structure and its corresponding 8-bit string. |
| 221 const url_parse::Parsed& parsed() const { return m_url.m_parsed; } | 221 const url_parse::Parsed& parsed() const { return m_url.m_parsed; } |
| 222 const CString& utf8String() const { return m_url.utf8String(); } | 222 const CString& utf8String() const { return m_url.utf8String(); } |
| 223 #endif | 223 #endif |
| 224 | 224 |
| 225 |
| 226 #if ENABLE(FILE_SYSTEM) |
| 227 #if USE(GOOGLEURL) |
| 228 const KURL* innerURL() const { return m_url.innerURL(); } |
| 229 #else |
| 230 const KURL* innerURL() const { notImplemented(); return 0; } |
| 231 #endif |
| 232 #endif |
| 233 |
| 225 #ifndef NDEBUG | 234 #ifndef NDEBUG |
| 226 void print() const; | 235 void print() const; |
| 227 #endif | 236 #endif |
| 228 | 237 |
| 229 // FIXME: Remove this after changing all callers to use protocolIsInHTTPFami
ly. | 238 // FIXME: Remove this after changing all callers to use protocolIsInHTTPFami
ly. |
| 230 bool protocolInHTTPFamily() const { return protocolIsInHTTPFamily(); } | 239 bool protocolInHTTPFamily() const { return protocolIsInHTTPFamily(); } |
| 231 | 240 |
| 232 private: | 241 private: |
| 233 void invalidate(); | 242 void invalidate(); |
| 234 bool isHierarchical() const; | 243 bool isHierarchical() const; |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 394 | 403 |
| 395 // KURLHash is the default hash for String | 404 // KURLHash is the default hash for String |
| 396 template<typename T> struct DefaultHash; | 405 template<typename T> struct DefaultHash; |
| 397 template<> struct DefaultHash<WebCore::KURL> { | 406 template<> struct DefaultHash<WebCore::KURL> { |
| 398 typedef WebCore::KURLHash Hash; | 407 typedef WebCore::KURLHash Hash; |
| 399 }; | 408 }; |
| 400 | 409 |
| 401 } // namespace WTF | 410 } // namespace WTF |
| 402 | 411 |
| 403 #endif // KURL_h | 412 #endif // KURL_h |
| OLD | NEW |