| 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 f38e133e6cc878324f742818419abb96d2fbbfb6..8eeee1055ef726c37a05b5897e1f75586a0f9dec 100644
|
| --- a/third_party/WebKit/public/platform/WebURLResponse.h
|
| +++ b/third_party/WebKit/public/platform/WebURLResponse.h
|
| @@ -35,6 +35,7 @@
|
| #include "public/platform/WebCommon.h"
|
| #include "public/platform/WebPrivateOwnPtr.h"
|
| #include "public/platform/WebString.h"
|
| +#include "public/platform/WebVector.h"
|
| #include "public/platform/modules/serviceworker/WebServiceWorkerResponseType.h"
|
|
|
| namespace blink {
|
| @@ -232,6 +233,11 @@ public:
|
| BLINK_PLATFORM_EXPORT WebString cacheStorageCacheName() const;
|
| BLINK_PLATFORM_EXPORT void setCacheStorageCacheName(const WebString&);
|
|
|
| + // The headers that should be exposed according to CORS. Only guaranteed
|
| + // to be set if the response was fetched by a ServiceWorker.
|
| + BLINK_PLATFORM_EXPORT WebVector<WebString> corsExposedHeaderNames() const;
|
| + BLINK_PLATFORM_EXPORT void setCorsExposedHeaderNames(const WebVector<WebString>&);
|
| +
|
| // 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.
|
|
|