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

Unified Diff: content/public/browser/navigation_entry.h

Issue 84703003: Allow data URL > 2MB for loadDataWithBaseURL (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove net edits Created 7 years, 1 month 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
Index: content/public/browser/navigation_entry.h
diff --git a/content/public/browser/navigation_entry.h b/content/public/browser/navigation_entry.h
index 9df14b1b10dbf77c588fd15f7ede90144cbec382..4050fe0a962b190714c2d38225946cac8589dda6 100644
--- a/content/public/browser/navigation_entry.h
+++ b/content/public/browser/navigation_entry.h
@@ -55,6 +55,11 @@ class NavigationEntry {
virtual void SetBaseURLForDataURL(const GURL& url) = 0;
virtual const GURL& GetBaseURLForDataURL() const = 0;
+ // Used for supplying the payload data of a data URL. Only used if
+ // SetBaseURLForDataURL() is also called.
+ virtual void SetDataForDataURL(base::RefCountedMemory* data) = 0;
+ virtual base::RefCountedMemory* GetDataForDataURL() const = 0;
+
// The referring URL. Can be empty.
virtual void SetReferrer(const content::Referrer& referrer) = 0;
virtual const content::Referrer& GetReferrer() const = 0;
@@ -76,7 +81,6 @@ class NavigationEntry {
virtual void SetTitle(const string16& title) = 0;
virtual const string16& GetTitle() const = 0;
- // XXX
// Content state is an opaque blob created by WebKit that represents the
// state of the page. This includes form entries and scroll position for each
// frame. We store it so that we can supply it back to WebKit to restore form

Powered by Google App Engine
This is Rietveld 408576698