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

Unified Diff: third_party/WebKit/Source/core/fetch/Resource.h

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: 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: third_party/WebKit/Source/core/fetch/Resource.h
diff --git a/third_party/WebKit/Source/core/fetch/Resource.h b/third_party/WebKit/Source/core/fetch/Resource.h
index 36a1f2ad5b7be1cc22836cc07b21ac6b3616eb6b..f1d5484c5641c21898e35c64702c9d4f926e422e 100644
--- a/third_party/WebKit/Source/core/fetch/Resource.h
+++ b/third_party/WebKit/Source/core/fetch/Resource.h
@@ -232,6 +232,9 @@ public:
double loadFinishTime() const { return m_loadFinishTime; }
+ void addToEncodedBodyLength(int value) { m_response.addToEncodedBodyLength(value); }
+ void addToResponseBodySize(int value) { m_response.addToResponseBodySize(value); }
+
virtual bool canReuse(const ResourceRequest&) const { return true; }
// Used by the MemoryCache to reduce the memory consumption of the entry.

Powered by Google App Engine
This is Rietveld 408576698