Chromium Code Reviews| 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 9a13f654b3ac6d494ce3e6fee79e232e1fab5330..0d3fe033ee7503b7d0da243aa530a4249812a586 100644 |
| --- a/content/browser/frame_host/navigation_entry_impl.h |
| +++ b/content/browser/frame_host/navigation_entry_impl.h |
| @@ -82,6 +82,11 @@ class CONTENT_EXPORT NavigationEntryImpl |
| const GURL& GetURL() const override; |
| void SetBaseURLForDataURL(const GURL& url) override; |
| const GURL& GetBaseURLForDataURL() const override; |
| +#if defined(OS_ANDROID) |
| + void SetDataURLAsString(scoped_refptr<base::RefCountedString>) override; |
|
Charlie Reis
2015/12/14 20:35:57
nit: Please name parameter. (data_url)
mnaganov (inactive)
2015/12/15 18:30:29
Done.
|
| + const scoped_refptr<const base::RefCountedString> GetDataURLAsString() |
| + const override; |
| +#endif |
| void SetReferrer(const Referrer& referrer) override; |
| const Referrer& GetReferrer() const override; |
| void SetVirtualURL(const GURL& url) override; |
| @@ -420,6 +425,12 @@ class CONTENT_EXPORT NavigationEntryImpl |
| // persisted by Android WebView. |
| GURL base_url_for_data_url_; |
| +#if defined(OS_ANDROID) |
| + // Used for passing really big data URLs from browser to renderers. Only used |
| + // and persisted by Android WebView. |
| + scoped_refptr<const base::RefCountedString> data_url_as_string_; |
| +#endif |
| + |
| // 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 in |ResetForCommit| and not persisted. |