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

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: 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
« no previous file with comments | « third_party/WebKit/public/platform/WebURLLoaderClient.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 89edecd6b2a0e74dbbc56f280cf208ad37cc9071..af75edc2a2f80c0159811dbf6883fb12dffe81ac 100644
--- a/third_party/WebKit/public/platform/WebURLResponse.h
+++ b/third_party/WebKit/public/platform/WebURLResponse.h
@@ -281,6 +281,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
« no previous file with comments | « third_party/WebKit/public/platform/WebURLLoaderClient.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698