summaryrefslogtreecommitdiffstats
path: root/WebKit/chromium/public/WebURLResponse.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebKit/chromium/public/WebURLResponse.h')
-rw-r--r--WebKit/chromium/public/WebURLResponse.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/WebKit/chromium/public/WebURLResponse.h b/WebKit/chromium/public/WebURLResponse.h
index 2aa603d..ac75d4c 100644
--- a/WebKit/chromium/public/WebURLResponse.h
+++ b/WebKit/chromium/public/WebURLResponse.h
@@ -76,6 +76,9 @@ public:
WEBKIT_API unsigned connectionID() const;
WEBKIT_API void setConnectionID(unsigned);
+ WEBKIT_API bool connectionReused() const;
+ WEBKIT_API void setConnectionReused(bool);
+
WEBKIT_API WebURLLoadTiming loadTiming();
WEBKIT_API void setLoadTiming(const WebURLLoadTiming&);
@@ -155,6 +158,12 @@ public:
WEBKIT_API bool isMultipartPayload() const;
WEBKIT_API void setIsMultipartPayload(bool);
+ // This indicates the location of a downloaded response if the
+ // WebURLRequest had the downloadToFile flag set to true. This file path
+ // remains valid for the lifetime of the WebURLLoader used to create it.
+ WEBKIT_API WebString downloadFilePath() const;
+ WEBKIT_API void setDownloadFilePath(const WebString&);
+
protected:
void assign(WebURLResponsePrivate*);