Index: Source/platform/exported/WebServiceWorkerRequest.cpp |
diff --git a/Source/platform/exported/WebServiceWorkerRequest.cpp b/Source/platform/exported/WebServiceWorkerRequest.cpp |
index cbf1dcef9206c32da0edee78b6b16c7999d98f67..73075ae2685ded9e180ffa834da3535e180f4dfe 100644 |
--- a/Source/platform/exported/WebServiceWorkerRequest.cpp |
+++ b/Source/platform/exported/WebServiceWorkerRequest.cpp |
@@ -32,6 +32,7 @@ public: |
WebURLRequest::RequestContext m_requestContext; |
WebURLRequest::FrameType m_frameType; |
bool m_isReload; |
+ WebServiceWorkerClientInfo m_client; |
}; |
WebServiceWorkerRequest::WebServiceWorkerRequest() |
@@ -176,4 +177,14 @@ bool WebServiceWorkerRequest::isReload() const |
return m_private->m_isReload; |
} |
+void WebServiceWorkerRequest::setClient(const WebServiceWorkerClientInfo& client) |
+{ |
+ m_private->m_client = client; |
+} |
+ |
+WebServiceWorkerClientInfo& WebServiceWorkerRequest::client() const |
+{ |
+ return m_private->m_client; |
+} |
+ |
} // namespace blink |