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

Unified Diff: third_party/WebKit/Source/web/WebDataSourceImpl.cpp

Issue 2461043003: Fix for the RedirectTest.ClientServerServer test. (Closed)
Patch Set: More build error fixes Created 4 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
« no previous file with comments | « third_party/WebKit/Source/web/WebDataSourceImpl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/WebDataSourceImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebDataSourceImpl.cpp b/third_party/WebKit/Source/web/WebDataSourceImpl.cpp
index 40276873e9c783464f314170b834f102f5e9cede..87d7436594aaa6c661bb7cdb376afe18dc1db45a 100644
--- a/third_party/WebKit/Source/web/WebDataSourceImpl.cpp
+++ b/third_party/WebKit/Source/web/WebDataSourceImpl.cpp
@@ -40,10 +40,12 @@
namespace blink {
-WebDataSourceImpl* WebDataSourceImpl::create(LocalFrame* frame,
- const ResourceRequest& request,
- const SubstituteData& data) {
- return new WebDataSourceImpl(frame, request, data);
+WebDataSourceImpl* WebDataSourceImpl::create(
+ LocalFrame* frame,
+ const ResourceRequest& request,
+ const SubstituteData& data,
+ ClientRedirectPolicy clientRedirectPolicy) {
+ return new WebDataSourceImpl(frame, request, data, clientRedirectPolicy);
}
const WebURLRequest& WebDataSourceImpl::originalRequest() const {
@@ -136,8 +138,9 @@ WebNavigationType WebDataSourceImpl::toWebNavigationType(NavigationType type) {
WebDataSourceImpl::WebDataSourceImpl(LocalFrame* frame,
const ResourceRequest& request,
- const SubstituteData& data)
- : DocumentLoader(frame, request, data),
+ const SubstituteData& data,
+ ClientRedirectPolicy clientRedirectPolicy)
+ : DocumentLoader(frame, request, data, clientRedirectPolicy),
m_originalRequestWrapper(DocumentLoader::originalRequest()),
m_requestWrapper(DocumentLoader::request()),
m_responseWrapper(DocumentLoader::response()) {}
« no previous file with comments | « third_party/WebKit/Source/web/WebDataSourceImpl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698