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

Unified Diff: third_party/WebKit/Source/core/loader/DocumentLoader.h

Issue 2461043003: Fix for the RedirectTest.ClientServerServer test. (Closed)
Patch Set: More build errors 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
Index: third_party/WebKit/Source/core/loader/DocumentLoader.h
diff --git a/third_party/WebKit/Source/core/loader/DocumentLoader.h b/third_party/WebKit/Source/core/loader/DocumentLoader.h
index 7c7b85fe4643c8ff528f47e241610f977d8a32ee..bf69836b5749004496a012ae57b1ed574a0b25b9 100644
--- a/third_party/WebKit/Source/core/loader/DocumentLoader.h
+++ b/third_party/WebKit/Source/core/loader/DocumentLoader.h
@@ -70,8 +70,9 @@ class CORE_EXPORT DocumentLoader
public:
static DocumentLoader* create(LocalFrame* frame,
const ResourceRequest& request,
- const SubstituteData& data) {
- return new DocumentLoader(frame, request, data);
+ const SubstituteData& data,
+ bool clientRedirect) {
+ return new DocumentLoader(frame, request, data, clientRedirect);
}
~DocumentLoader() override;
@@ -183,7 +184,10 @@ class CORE_EXPORT DocumentLoader
DECLARE_VIRTUAL_TRACE();
protected:
- DocumentLoader(LocalFrame*, const ResourceRequest&, const SubstituteData&);
+ DocumentLoader(LocalFrame*,
+ const ResourceRequest&,
+ const SubstituteData&,
+ bool clientRedirect);
void didRedirect(const KURL& oldURL, const KURL& newURL);

Powered by Google App Engine
This is Rietveld 408576698