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

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: Tidy up 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 605e465b065337e3b8e863edbbdaedda2c80bbfa..af24329391f6762bb84503a919dac23ec429575a 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