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

Unified Diff: third_party/WebKit/Source/core/loader/FrameFetchContextTest.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
Index: third_party/WebKit/Source/core/loader/FrameFetchContextTest.cpp
diff --git a/third_party/WebKit/Source/core/loader/FrameFetchContextTest.cpp b/third_party/WebKit/Source/core/loader/FrameFetchContextTest.cpp
index 7a5cc3a54e73002ea5e7640f34c445ff28282d48..264bf8eade170f60c17f062faf77d29209ffe4de 100644
--- a/third_party/WebKit/Source/core/loader/FrameFetchContextTest.cpp
+++ b/third_party/WebKit/Source/core/loader/FrameFetchContextTest.cpp
@@ -35,6 +35,7 @@
#include "core/fetch/UniqueIdentifier.h"
#include "core/frame/FrameHost.h"
#include "core/frame/FrameOwner.h"
+#include "core/frame/FrameTypes.h"
#include "core/frame/FrameView.h"
#include "core/frame/Settings.h"
#include "core/html/HTMLIFrameElement.h"
@@ -85,7 +86,7 @@ class FrameFetchContextTest : public ::testing::Test {
dummyPageHolder->page().setDeviceScaleFactor(1.0);
documentLoader = DocumentLoader::create(
&dummyPageHolder->frame(), ResourceRequest("http://www.example.com"),
- SubstituteData());
+ SubstituteData(), ClientRedirectPolicy::NotClientRedirect);
document = &dummyPageHolder->document();
fetchContext =
static_cast<FrameFetchContext*>(&documentLoader->fetcher()->context());
@@ -112,7 +113,7 @@ class FrameFetchContextTest : public ::testing::Test {
childFrame->init();
childDocumentLoader = DocumentLoader::create(
childFrame.get(), ResourceRequest("http://www.example.com"),
- SubstituteData());
+ SubstituteData(), ClientRedirectPolicy::NotClientRedirect);
childDocument = childFrame->document();
FrameFetchContext* childFetchContext = static_cast<FrameFetchContext*>(
&childDocumentLoader->fetcher()->context());
@@ -149,9 +150,9 @@ class FrameFetchContextDisplayedCertificateErrorsTest
dummyPageHolder =
DummyPageHolder::create(IntSize(500, 500), nullptr, client);
dummyPageHolder->page().setDeviceScaleFactor(1.0);
- documentLoader = DocumentLoader::create(&dummyPageHolder->frame(),
- ResourceRequest(mainResourceUrl),
- SubstituteData());
+ documentLoader = DocumentLoader::create(
+ &dummyPageHolder->frame(), ResourceRequest(mainResourceUrl),
+ SubstituteData(), ClientRedirectPolicy::NotClientRedirect);
document = &dummyPageHolder->document();
document->setURL(mainResourceUrl);
fetchContext =
« no previous file with comments | « third_party/WebKit/Source/core/loader/EmptyClients.cpp ('k') | third_party/WebKit/Source/core/loader/FrameLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698