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..39f513436bad0ec5e3fc02fedc6ccf605f2db90c 100644 |
--- a/content/public/browser/navigation_controller.h |
+++ b/content/public/browser/navigation_controller.h |
@@ -22,6 +22,7 @@ |
namespace base { |
class RefCountedMemory; |
+class RefCountedString; |
} // namespace base |
@@ -161,6 +162,14 @@ class NavigationController { |
// data loads. |
GURL virtual_url_for_data_url; |
+#if defined(OS_ANDROID) |
+ // Used in LOAD_TYPE_DATA loads only. The real data URI is represented |
+ // as a string to circumvent the restriction on GURL size. This is only |
+ // needed to pass URL that exceed the IPC limit (kMaxURLChars). Short |
Charlie Reis
2015/12/15 19:22:07
nit: URLs
mnaganov (inactive)
2015/12/15 20:30:49
Done.
|
+ // data: URLs can be passed in the |url| field. |
+ scoped_refptr<base::RefCountedString> data_url_as_string; |
+#endif |
+ |
// 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. |