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

Unified Diff: content/browser/loader/async_resource_handler.h

Issue 2092993002: Browser process changes for Resource Timing sizes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compilation of resource_dispatcher_unittest.cc Created 4 years, 6 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: content/browser/loader/async_resource_handler.h
diff --git a/content/browser/loader/async_resource_handler.h b/content/browser/loader/async_resource_handler.h
index 0991021336043dc8b4d990a24352ca6408aaa22d..adcffa9ec3adf41049452f32535fc0391047ba0a 100644
--- a/content/browser/loader/async_resource_handler.h
+++ b/content/browser/loader/async_resource_handler.h
@@ -70,6 +70,7 @@ class AsyncResourceHandler : public ResourceHandler,
void OnDefer();
bool CheckForSufficientResource();
int CalculateEncodedDataLengthToReport();
+ int CalculateEncodedBodyLengthToReport();
void RecordHistogram();
scoped_refptr<ResourceBuffer> buffer_;
@@ -96,6 +97,7 @@ class AsyncResourceHandler : public ResourceHandler,
base::RepeatingTimer progress_timer_;
int64_t reported_transfer_size_;
+ int64_t reported_encoded_body_length_;
DISALLOW_COPY_AND_ASSIGN(AsyncResourceHandler);
};
« no previous file with comments | « no previous file | content/browser/loader/async_resource_handler.cc » ('j') | content/browser/loader/async_resource_handler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698