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

Unified Diff: content/child/resource_dispatcher.cc

Issue 2092993002: Browser process changes for Resource Timing sizes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Method renames 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
« no previous file with comments | « content/child/resource_dispatcher.h ('k') | content/child/resource_dispatcher_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/resource_dispatcher.cc
diff --git a/content/child/resource_dispatcher.cc b/content/child/resource_dispatcher.cc
index 461da5c1df50f68a0d405c6029f1ffc888e1643f..55fa55544d3fbd8aa7ab40e142eab397fc654f76 100644
--- a/content/child/resource_dispatcher.cc
+++ b/content/child/resource_dispatcher.cc
@@ -226,7 +226,8 @@ void ResourceDispatcher::OnSetDataBuffer(int request_id,
void ResourceDispatcher::OnReceivedInlinedDataChunk(
int request_id,
const std::vector<char>& data,
- int encoded_data_length) {
+ int encoded_data_length,
+ int encoded_body_length) {
TRACE_EVENT0("loader", "ResourceDispatcher::OnReceivedInlinedDataChunk");
DCHECK(!data.empty());
DCHECK(base::FeatureList::IsEnabled(
@@ -254,7 +255,8 @@ void ResourceDispatcher::OnReceivedInlinedDataChunk(
void ResourceDispatcher::OnReceivedData(int request_id,
int data_offset,
int data_length,
- int encoded_data_length) {
+ int encoded_data_length,
+ int encoded_body_length) {
TRACE_EVENT0("loader", "ResourceDispatcher::OnReceivedData");
DCHECK_GT(data_length, 0);
PendingRequestInfo* request_info = GetPendingRequestInfo(request_id);
« no previous file with comments | « content/child/resource_dispatcher.h ('k') | content/child/resource_dispatcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698