Index: content/browser/web_contents/navigation_entry_impl.h |
diff --git a/content/browser/web_contents/navigation_entry_impl.h b/content/browser/web_contents/navigation_entry_impl.h |
index 88d89929b0c9d5db58ae93333f789649e215c6f8..89725aaaa8373c1ee32f9c90bca6e17221a6fe5b 100644 |
--- a/content/browser/web_contents/navigation_entry_impl.h |
+++ b/content/browser/web_contents/navigation_entry_impl.h |
@@ -36,6 +36,8 @@ class CONTENT_EXPORT NavigationEntryImpl |
virtual PageType GetPageType() const OVERRIDE; |
virtual void SetURL(const GURL& url) OVERRIDE; |
virtual const GURL& GetURL() const OVERRIDE; |
+ virtual void SetBaseURLForDataURL(const GURL& url) OVERRIDE; |
+ virtual const GURL& GetBaseURLForDataURL() const OVERRIDE; |
virtual void SetReferrer(const Referrer& referrer) OVERRIDE; |
virtual const Referrer& GetReferrer() const OVERRIDE; |
virtual void SetVirtualURL(const GURL& url) OVERRIDE; |
@@ -187,6 +189,9 @@ class CONTENT_EXPORT NavigationEntryImpl |
// This member is not persisted with sesssion restore. |
std::string extra_headers_; |
+ // Used for specifying base URL for pages loaded via data URLs. Not persisted. |
Charlie Reis
2012/07/10 20:54:19
Sanity check: why is this safe to not persist? Is
mnaganov (inactive)
2012/07/23 14:02:30
WebView currently uses the single-process model (f
|
+ GURL base_url_for_data_url_; |
+ |
// Whether the entry, while loading, was created for a renderer-initiated |
// navigation. This dictates whether the URL should be displayed before the |
// navigation commits. It is cleared on commit and not persisted. |