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

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

Issue 1497743005: Allow huge data: URIs only via WebView.loadDataWithBaseUrl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sort out the tests Created 5 years 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 ac52ae13188730ea99ccac05ab66dac907d788c5..15057bcabec785c674d277fcec1bffc87570275f 100644
--- a/content/public/browser/navigation_controller.h
+++ b/content/public/browser/navigation_controller.h
@@ -161,6 +161,10 @@ class NavigationController {
// data loads.
GURL virtual_url_for_data_url;
+ // Used in LOAD_TYPE_DATA loads only. The real data URI represented
+ // as a string to circumvent the restriction on GURL size.
+ std::string data_url_as_string;
+
// Used in LOAD_TYPE_BROWSER_INITIATED_HTTP_POST loads only. Carries the
// post data of the load. Ownership is transferred to NavigationController
// after LoadURLWithParams call.

Powered by Google App Engine
This is Rietveld 408576698