Chromium Code Reviews| Index: content/public/browser/navigation_entry.h |
| diff --git a/content/public/browser/navigation_entry.h b/content/public/browser/navigation_entry.h |
| index 850fdb4b57264d90d120b5ffed20fdfaffdf5357..e19388ae6fe575e76a69a78ee542900257d15ad2 100644 |
| --- a/content/public/browser/navigation_entry.h |
| +++ b/content/public/browser/navigation_entry.h |
| @@ -55,6 +55,15 @@ class NavigationEntry { |
| virtual void SetBaseURLForDataURL(const GURL& url) = 0; |
| virtual const GURL& GetBaseURLForDataURL() const = 0; |
| +#if defined(OS_ANDROID) |
| + // The real data: URL when it is received via WebView.loadDataWithBaseUrl |
| + // method. Represented as a string to circumvent the size restriction |
| + // of GURLs for compatibility with legacy Android WebView apps. |
| + virtual void SetDataURLAsString(scoped_refptr<base::RefCountedString>) = 0; |
|
Charlie Reis
2015/12/14 20:35:57
nit: Please name parameter data_url.
mnaganov (inactive)
2015/12/15 18:30:29
Done.
|
| + virtual const scoped_refptr<const base::RefCountedString> GetDataURLAsString() |
| + const = 0; |
| +#endif |
| + |
| // The referring URL. Can be empty. |
| virtual void SetReferrer(const content::Referrer& referrer) = 0; |
| virtual const content::Referrer& GetReferrer() const = 0; |