Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(472)

Side by Side Diff: Source/WebCore/platform/KURL.h

Issue 8856006: WebKit changes needed for supporting filesystem URLs natively in GURL/KURL. (Closed) Base URL: http://svn.webkit.org/repository/webkit/trunk
Patch Set: Remove dead constructor code. Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/WebCore/page/SecurityOrigin.cpp ('k') | Source/WebCore/platform/KURLGoogle.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « Source/WebCore/page/SecurityOrigin.cpp ('k') | Source/WebCore/platform/KURLGoogle.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698