Index: content/browser/frame_host/navigation_entry_impl.h |
diff --git a/content/browser/frame_host/navigation_entry_impl.h b/content/browser/frame_host/navigation_entry_impl.h |
index c7f4f5fc7c48ff36d3d4b733c404c533d8879b91..0c6e52d95b2939e51163fb4da9dbeb36586fec4e 100644 |
--- a/content/browser/frame_host/navigation_entry_impl.h |
+++ b/content/browser/frame_host/navigation_entry_impl.h |
@@ -41,6 +41,8 @@ class CONTENT_EXPORT NavigationEntryImpl |
virtual const GURL& GetURL() const OVERRIDE; |
virtual void SetBaseURLForDataURL(const GURL& url) OVERRIDE; |
virtual const GURL& GetBaseURLForDataURL() const OVERRIDE; |
+ virtual void SetDataForDataURL(base::RefCountedMemory* data) OVERRIDE; |
+ virtual base::RefCountedMemory* GetDataForDataURL() const OVERRIDE; |
virtual void SetReferrer(const Referrer& referrer) OVERRIDE; |
virtual const Referrer& GetReferrer() const OVERRIDE; |
virtual void SetVirtualURL(const GURL& url) OVERRIDE; |
@@ -277,6 +279,11 @@ class CONTENT_EXPORT NavigationEntryImpl |
// This member is not persisted with session restore. |
std::string extra_headers_; |
+ // Payload data of a navigation entry with a base URL override -- only used |
+ // if |base_url_for_data_url_| is non-empty. Only used and persisted by |
+ // Android WebView. |
+ scoped_refptr<base::RefCountedMemory> data_for_data_url_; |
+ |
// Used for specifying base URL for pages loaded via data URLs. Only used and |
// persisted by Android WebView. |
GURL base_url_for_data_url_; |