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

Unified Diff: content/browser/frame_host/navigation_entry_impl.cc

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/browser/frame_host/navigation_entry_impl.cc
diff --git a/content/browser/frame_host/navigation_entry_impl.cc b/content/browser/frame_host/navigation_entry_impl.cc
index a9b37cc5db0ff9b86edbaa51d33848ed3a586ab8..9f7c9e93d6267feea87276b414655c7ba558f173 100644
--- a/content/browser/frame_host/navigation_entry_impl.cc
+++ b/content/browser/frame_host/navigation_entry_impl.cc
@@ -113,6 +113,15 @@ const GURL& NavigationEntryImpl::GetBaseURLForDataURL() const {
return base_url_for_data_url_;
}
+void NavigationEntryImpl::SetDataForDataURL(
+ base::RefCountedMemory* data) {
+ data_for_data_url_ = data;
+}
+
+base::RefCountedMemory* NavigationEntryImpl::GetDataForDataURL() const {
+ return data_for_data_url_;
+}
+
void NavigationEntryImpl::SetReferrer(const Referrer& referrer) {
referrer_ = referrer;
}

Powered by Google App Engine
This is Rietveld 408576698