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

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: rebase 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 1c7d34348385efb043a8d9c6f72677602f8f1c32..bf5dd56ca901792968e8123da40426825a406a7a 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;

Powered by Google App Engine
This is Rietveld 408576698