| Index: Source/platform/exported/WebServiceWorkerRequest.cpp
|
| diff --git a/Source/platform/exported/WebServiceWorkerRequest.cpp b/Source/platform/exported/WebServiceWorkerRequest.cpp
|
| index b422e9f3e1e0ec5bfd4b658885e6ca5397d4f1fe..8232e785bb310eadded11800677037d9706f003c 100644
|
| --- a/Source/platform/exported/WebServiceWorkerRequest.cpp
|
| +++ b/Source/platform/exported/WebServiceWorkerRequest.cpp
|
| @@ -24,6 +24,8 @@ public:
|
| RefPtr<BlobDataHandle> blobDataHandle;
|
| Referrer m_referrer;
|
| WebURLRequest::FetchRequestMode m_mode;
|
| + WebURLRequest::RequestContext m_requestContext;
|
| + WebURLRequest::FrameType m_frameType;
|
| bool m_isReload;
|
| };
|
|
|
| @@ -129,6 +131,26 @@ WebURLRequest::FetchRequestMode WebServiceWorkerRequest::mode() const
|
| return m_private->m_mode;
|
| }
|
|
|
| +void WebServiceWorkerRequest::setRequestContext(WebURLRequest::RequestContext requestContext)
|
| +{
|
| + m_private->m_requestContext = requestContext;
|
| +}
|
| +
|
| +WebURLRequest::RequestContext WebServiceWorkerRequest::requestContext() const
|
| +{
|
| + return m_private->m_requestContext;
|
| +}
|
| +
|
| +void WebServiceWorkerRequest::setFrameType(WebURLRequest::FrameType frameType)
|
| +{
|
| + m_private->m_frameType = frameType;
|
| +}
|
| +
|
| +WebURLRequest::FrameType WebServiceWorkerRequest::frameType() const
|
| +{
|
| + return m_private->m_frameType;
|
| +}
|
| +
|
| void WebServiceWorkerRequest::setIsReload(bool isReload)
|
| {
|
| m_private->m_isReload = isReload;
|
|
|