| Index: third_party/WebKit/Source/platform/network/ResourceResponse.h
|
| diff --git a/third_party/WebKit/Source/platform/network/ResourceResponse.h b/third_party/WebKit/Source/platform/network/ResourceResponse.h
|
| index cd3cf5f766d6cfcb90dff38ff1c00e473eba185c..89d6480631a3725d55b76d2c3b2cf330b74e5aea 100644
|
| --- a/third_party/WebKit/Source/platform/network/ResourceResponse.h
|
| +++ b/third_party/WebKit/Source/platform/network/ResourceResponse.h
|
| @@ -225,6 +225,12 @@ public:
|
| const String& cacheStorageCacheName() const { return m_cacheStorageCacheName; }
|
| void setCacheStorageCacheName(const String& cacheStorageCacheName) { m_cacheStorageCacheName = cacheStorageCacheName; }
|
|
|
| + const Vector<String>& corsExposedHeaderNames() const { return m_corsExposedHeaderNames; }
|
| + void setCorsExposedHeaderNames(const Vector<String>& headerNames)
|
| + {
|
| + m_corsExposedHeaderNames = headerNames;
|
| + }
|
| +
|
| int64_t responseTime() const { return m_responseTime; }
|
| void setResponseTime(int64_t responseTime) { m_responseTime = responseTime; }
|
|
|
| @@ -346,6 +352,10 @@ private:
|
| // the ServiceWorker. Null if the response isn't from the CacheStorage.
|
| String m_cacheStorageCacheName;
|
|
|
| + // The headers that should be exposed according to CORS. Only guaranteed
|
| + // to be set if the response was fetched by a ServiceWorker.
|
| + Vector<String> m_corsExposedHeaderNames;
|
| +
|
| // The time at which the response headers were received. For cached
|
| // responses, this time could be "far" in the past.
|
| int64_t m_responseTime;
|
|
|