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

Unified Diff: content/public/browser/navigation_controller.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_controller.h
diff --git a/content/public/browser/navigation_controller.h b/content/public/browser/navigation_controller.h
index f2465b783118c4aef3e3592f10cfc73d08936bf9..8a1d7438ee70410e6f71a1b2b3e9fe1e5a2b0d90 100644
--- a/content/public/browser/navigation_controller.h
+++ b/content/public/browser/navigation_controller.h
@@ -142,6 +142,10 @@ class NavigationController {
// renderer wants to navigate. Identifies the request ID of the old request.
GlobalRequestID transferred_global_request_id;
+ // Used in LOAD_TYPE_DATA loads only. Carries the payload data of this
+ // data: URL. (i.e. everything after the "data:mime/type," prefix).
+ scoped_refptr<base::RefCountedMemory> data_for_data_url;
+
// Used in LOAD_TYPE_DATA loads only. Used for specifying a base URL
// for pages loaded via data URLs.
GURL base_url_for_data_url;

Powered by Google App Engine
This is Rietveld 408576698