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

Unified Diff: third_party/WebKit/public/platform/WebURLResponse.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: Fixes from ksakamoto review 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/public/platform/WebURLResponse.h
diff --git a/third_party/WebKit/public/platform/WebURLResponse.h b/third_party/WebKit/public/platform/WebURLResponse.h
index 8eeee1055ef726c37a05b5897e1f75586a0f9dec..c23deb0f98b5801fb9139bbdab9eb9784b37f6cd 100644
--- a/third_party/WebKit/public/platform/WebURLResponse.h
+++ b/third_party/WebKit/public/platform/WebURLResponse.h
@@ -252,6 +252,14 @@ public:
BLINK_PLATFORM_EXPORT unsigned short remotePort() const;
BLINK_PLATFORM_EXPORT void setRemotePort(unsigned short);
+ // Original size of the response body before decompression.
+ BLINK_PLATFORM_EXPORT long long encodedBodyLength() const;
+ BLINK_PLATFORM_EXPORT void addToEncodedBodyLength(long long);
+
+ // Size of the response body after removing any content encoding.
+ BLINK_PLATFORM_EXPORT long long decodedBodyLength() const;
+ BLINK_PLATFORM_EXPORT void addToDecodedBodyLength(long long);
+
// Extra data associated with the underlying resource response. Resource
// responses can be copied. If non-null, each copy of a resource response
// holds a pointer to the extra data, and the extra data pointer will be

Powered by Google App Engine
This is Rietveld 408576698