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

Unified Diff: Source/WebCore/platform/KURLGooglePrivate.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/WebCore/platform/KURLGoogle.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/platform/KURLGooglePrivate.h
diff --git a/Source/WebCore/platform/KURLGooglePrivate.h b/Source/WebCore/platform/KURLGooglePrivate.h
index 31efd64eecfd78f69b6d58536c72bc2bf771c4ab..e09c1ea537401e3915598d8ed58fd33c750abb7c 100644
--- a/Source/WebCore/platform/KURLGooglePrivate.h
+++ b/Source/WebCore/platform/KURLGooglePrivate.h
@@ -32,6 +32,7 @@
#define KURLGooglePrivate_h
#include <wtf/text/CString.h>
+#include <wtf/OwnPtr.h>
#include <googleurl/src/url_parse.h>
#include <googleurl/src/url_canon.h>
@@ -49,6 +50,8 @@ namespace WebCore {
KURLGooglePrivate();
KURLGooglePrivate(const url_parse::Parsed&, bool isValid);
KURLGooglePrivate(WTF::HashTableDeletedValueType);
+ KURLGooglePrivate(const KURLGooglePrivate&);
+ KURLGooglePrivate& operator=(const KURLGooglePrivate&);
// Initializes the object. This will call through the backend initializer
// below.
@@ -94,7 +97,10 @@ namespace WebCore {
bool m_protocolIsInHTTPFamily;
url_parse::Parsed m_parsed; // Indexes into the UTF-8 version of the string.
+ KURL* innerURL() const { return m_innerURL.get(); }
+
private:
+ void initInnerURL();
void initProtocolIsInHTTPFamily();
CString m_utf8;
@@ -107,6 +113,8 @@ namespace WebCore {
mutable bool m_stringIsValid;
mutable String m_string;
+
+ OwnPtr<KURL> m_innerURL;
};
} // namespace WebCore
« no previous file with comments | « Source/WebCore/platform/KURLGoogle.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698