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

Unified Diff: third_party/WebKit/public/platform/WebURLResponse.h

Issue 2316573002: PlzNavigate: Support ResourceTiming API (Closed)
Patch Set: Support resourceLoadInfo (encodedDataLength) Created 4 years, 3 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 ca7f9960eb6e6a243fc5b7e5dbf6b497a5b13d00..a33dfb6ac9067681feba46fdb0f025a92dd7be4f 100644
--- a/third_party/WebKit/public/platform/WebURLResponse.h
+++ b/third_party/WebKit/public/platform/WebURLResponse.h
@@ -276,6 +276,10 @@ public:
BLINK_PLATFORM_EXPORT unsigned short remotePort() const;
BLINK_PLATFORM_EXPORT void setRemotePort(unsigned short);
+ // Original size of the response before decompression.
+ BLINK_PLATFORM_EXPORT long long encodedDataLength() const;
+ BLINK_PLATFORM_EXPORT void addToEncodedDataLength(long long);
+
// Original size of the response body before decompression.
BLINK_PLATFORM_EXPORT long long encodedBodyLength() const;
BLINK_PLATFORM_EXPORT void addToEncodedBodyLength(long long);

Powered by Google App Engine
This is Rietveld 408576698