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

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

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 | « no previous file | third_party/WebKit/Source/core/loader/DocumentLoader.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..21af660142a3493b92cd39e5a1f50910b72cedba 100644
--- a/third_party/WebKit/Source/core/loader/DocumentLoader.h
+++ b/third_party/WebKit/Source/core/loader/DocumentLoader.h
@@ -37,6 +37,7 @@
#include "core/fetch/RawResource.h"
#include "core/fetch/ResourceLoaderOptions.h"
#include "core/fetch/SubstituteData.h"
+#include "core/frame/FrameTypes.h"
#include "core/frame/csp/ContentSecurityPolicy.h"
#include "core/loader/DocumentLoadTiming.h"
#include "core/loader/DocumentWriter.h"
@@ -70,8 +71,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,
+ ClientRedirectPolicy clientRedirectPolicy) {
+ return new DocumentLoader(frame, request, data, clientRedirectPolicy);
}
~DocumentLoader() override;
@@ -183,7 +185,10 @@ class CORE_EXPORT DocumentLoader
DECLARE_VIRTUAL_TRACE();
protected:
- DocumentLoader(LocalFrame*, const ResourceRequest&, const SubstituteData&);
+ DocumentLoader(LocalFrame*,
+ const ResourceRequest&,
+ const SubstituteData&,
+ ClientRedirectPolicy);
void didRedirect(const KURL& oldURL, const KURL& newURL);
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/loader/DocumentLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698