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

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

Issue 2316573002: PlzNavigate: Support ResourceTiming API (Closed)
Patch Set: Move redirect response inside the final response. 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..7c6b00cc3335b803ccec6c31d9e7b57dac8f2524 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);
@@ -293,6 +297,8 @@ public:
BLINK_PLATFORM_EXPORT ExtraData* getExtraData() const;
BLINK_PLATFORM_EXPORT void setExtraData(ExtraData*);
+ BLINK_PLATFORM_EXPORT void appendRedirectResponse(const WebURLResponse&);
+
#if INSIDE_BLINK
protected:
// Permit subclasses to set arbitrary ResourceResponse pointer as

Powered by Google App Engine
This is Rietveld 408576698