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

Unified Diff: Source/core/loader/DocumentLoader.cpp

Issue 126753002: Update the ResourceRequest in DocumentLoader after the embedder modified it (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: updates Created 6 years, 11 months 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
« no previous file with comments | « Source/core/loader/DocumentLoader.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/loader/DocumentLoader.cpp
diff --git a/Source/core/loader/DocumentLoader.cpp b/Source/core/loader/DocumentLoader.cpp
index 202f4a6fc8e122022048b67d4f6eb227ad48597f..f0d8df4d0507ac189316b2a81ddbb1fbadd33abd 100644
--- a/Source/core/loader/DocumentLoader.cpp
+++ b/Source/core/loader/DocumentLoader.cpp
@@ -332,6 +332,12 @@ void DocumentLoader::redirectReceived(Resource* resource, ResourceRequest& reque
willSendRequest(request, redirectResponse);
}
+void DocumentLoader::updateRequest(Resource* resource, const ResourceRequest& request)
+{
+ ASSERT_UNUSED(resource, resource == m_mainResource);
+ m_request = request;
+}
+
static bool isFormSubmission(NavigationType type)
{
return type == NavigationTypeFormSubmitted || type == NavigationTypeFormResubmitted;
« no previous file with comments | « Source/core/loader/DocumentLoader.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698