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

Unified Diff: third_party/WebKit/Source/core/loader/FrameFetchContextTest.cpp

Issue 2416523002: Expose the initiating origin/URL of a navigation in the Blink public API (Closed)
Patch Set: rebase 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 bbca2fa0c926ed8facc8855c7695deb788d8c8d9..8fe1e1075afbc927e375c3968b8c36230f661491 100644
--- a/third_party/WebKit/Source/core/loader/FrameFetchContextTest.cpp
+++ b/third_party/WebKit/Source/core/loader/FrameFetchContextTest.cpp
@@ -86,7 +86,7 @@ class FrameFetchContextTest : public ::testing::Test {
dummyPageHolder->page().setDeviceScaleFactor(1.0);
documentLoader = DocumentLoader::create(
&dummyPageHolder->frame(), ResourceRequest("http://www.example.com"),
- SubstituteData(), ClientRedirectPolicy::NotClientRedirect);
+ SubstituteData(), ClientRedirectPolicy::NotClientRedirect, nullptr);
document = &dummyPageHolder->document();
fetchContext =
static_cast<FrameFetchContext*>(&documentLoader->fetcher()->context());
@@ -113,7 +113,7 @@ class FrameFetchContextTest : public ::testing::Test {
childFrame->init();
childDocumentLoader = DocumentLoader::create(
childFrame.get(), ResourceRequest("http://www.example.com"),
- SubstituteData(), ClientRedirectPolicy::NotClientRedirect);
+ SubstituteData(), ClientRedirectPolicy::NotClientRedirect, nullptr);
childDocument = childFrame->document();
FrameFetchContext* childFetchContext = static_cast<FrameFetchContext*>(
&childDocumentLoader->fetcher()->context());
@@ -152,7 +152,7 @@ class FrameFetchContextDisplayedCertificateErrorsTest
dummyPageHolder->page().setDeviceScaleFactor(1.0);
documentLoader = DocumentLoader::create(
&dummyPageHolder->frame(), ResourceRequest(mainResourceUrl),
- SubstituteData(), ClientRedirectPolicy::NotClientRedirect);
+ SubstituteData(), ClientRedirectPolicy::NotClientRedirect, nullptr);
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