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

Unified Diff: third_party/WebKit/Source/core/fetch/ResourceFetcherTest.cpp

Issue 2533683002: Move the code in ResourceFetcher handling calls from WebURLLoaderImpl to ResourceLoader (Closed)
Patch Set: Fix test Created 4 years 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/fetch/ResourceFetcherTest.cpp
diff --git a/third_party/WebKit/Source/core/fetch/ResourceFetcherTest.cpp b/third_party/WebKit/Source/core/fetch/ResourceFetcherTest.cpp
index 83c82de1d4eec1aab50d9f39bd349bbef0b704be..fed4fbbe1116f7150e6ed3ed3a66974484a3b154 100644
--- a/third_party/WebKit/Source/core/fetch/ResourceFetcherTest.cpp
+++ b/third_party/WebKit/Source/core/fetch/ResourceFetcherTest.cpp
@@ -178,8 +178,7 @@ TEST_F(ResourceFetcherTest, NavigationTimingInfo) {
long long redirectEncodedDataLength = 123;
redirectResponse.setEncodedDataLength(redirectEncodedDataLength);
ResourceRequest redirectResourceRequest(url);
- fetcher->willFollowRedirect(resource, redirectResourceRequest,
- redirectResponse);
+ fetcher->recordResourceTimingOnRedirect(resource, redirectResponse, false);
EXPECT_EQ(navigationTimingInfo->transferSize(),
encodedDataLength + redirectEncodedDataLength);
Platform::current()->getURLLoaderMockFactory()->unregisterURL(url);
« no previous file with comments | « third_party/WebKit/Source/core/fetch/ResourceFetcher.cpp ('k') | third_party/WebKit/Source/core/fetch/ResourceLoader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698