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

Unified Diff: content/common/view_messages.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/common/view_messages.h
diff --git a/content/common/view_messages.h b/content/common/view_messages.h
index 3f4e6fd74e30b9848bda1885a1dba430fe447cd3..c5bf0a42596c4318d02236127d5ca2aa69f85684 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -642,6 +642,10 @@ IPC_STRUCT_BEGIN(ViewMsg_Navigate_Params)
// The URL to load.
IPC_STRUCT_MEMBER(GURL, url)
+ // Data payload for use in WebKit's SubstituteData.
+ // Is only used if base_url_for_data_url is also specified.
+ IPC_STRUCT_MEMBER(scoped_refptr<base::RefCountedMemory>, data_for_data_url)
+
// Base URL for use in WebKit's SubstituteData.
// Is only used with data: URLs.
IPC_STRUCT_MEMBER(GURL, base_url_for_data_url)

Powered by Google App Engine
This is Rietveld 408576698