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

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

Issue 2316573002: PlzNavigate: Support ResourceTiming API (Closed)
Patch Set: Rebase Created 4 years, 2 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/WebURLRequest.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 e413cfed6ba3ee2604f632ad78dc38f26b3e1f40..4157f5376b480845b55f3dfad0a458b08a1a6e1e 100644
--- a/third_party/WebKit/public/platform/WebURLResponse.h
+++ b/third_party/WebKit/public/platform/WebURLResponse.h
@@ -291,6 +291,10 @@ class WebURLResponse {
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 @@ class WebURLResponse {
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
« no previous file with comments | « 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