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

Unified Diff: third_party/WebKit/Source/platform/testing/weburl_loader_mock.cc

Issue 2105713002: Render process changes for ResourceTiming sizes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@resource_timing_sizes_browser_process
Patch Set: Initialise encoded_body_length for sync XHR to data: URLs Created 4 years, 5 months 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/platform/testing/weburl_loader_mock.cc
diff --git a/third_party/WebKit/Source/platform/testing/weburl_loader_mock.cc b/third_party/WebKit/Source/platform/testing/weburl_loader_mock.cc
index 45affb8b901a922c9d4d875f6c4c3836077eaed2..3244d38e10c9e73f7de3ac70c7c4dc2876b6421c 100644
--- a/third_party/WebKit/Source/platform/testing/weburl_loader_mock.cc
+++ b/third_party/WebKit/Source/platform/testing/weburl_loader_mock.cc
@@ -82,7 +82,8 @@ WebURLRequest WebURLLoaderMock::ServeRedirect(
WeakPtr<WebURLLoaderMock> self = weak_factory_.createWeakPtr();
- client_->willFollowRedirect(this, newRequest, redirectResponse);
+ client_->willFollowRedirect(this, newRequest, redirectResponse,
+ kRedirectResponseOverheadBytes);
// |this| might be deleted in willFollowRedirect().
if (!self)
« no previous file with comments | « third_party/WebKit/Source/platform/testing/weburl_loader_mock.h ('k') | third_party/WebKit/Source/web/AssociatedURLLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698