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

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

Issue 2316573002: PlzNavigate: Support ResourceTiming API (Closed)
Patch Set: Nit + rebase + build fix 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 ff22cb9a5ae479391245e7c64d44e3cf7cd7094c..98decb86e5c25ae6f9d8f1fb5b825d56b92a0288 100644
--- a/third_party/WebKit/public/platform/WebURLResponse.h
+++ b/third_party/WebKit/public/platform/WebURLResponse.h
@@ -291,6 +291,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);
@@ -308,6 +312,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
« content/common/frame_messages.h ('K') | « third_party/WebKit/public/platform/WebURLRequest.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698