Index: third_party/WebKit/Source/platform/exported/WebServiceWorkerRequest.cpp |
diff --git a/third_party/WebKit/Source/platform/exported/WebServiceWorkerRequest.cpp b/third_party/WebKit/Source/platform/exported/WebServiceWorkerRequest.cpp |
index 42b655ff8c6de644c0fe80f2ee70bae93546f4f5..c4469a213e18ddd7a1402406e9920c570fc353ea 100644 |
--- a/third_party/WebKit/Source/platform/exported/WebServiceWorkerRequest.cpp |
+++ b/third_party/WebKit/Source/platform/exported/WebServiceWorkerRequest.cpp |
@@ -38,6 +38,7 @@ class WebServiceWorkerRequestPrivate |
WebURLRequest::FetchRedirectMode redirect_mode_; |
WebURLRequest::RequestContext request_context_; |
WebURLRequest::FrameType frame_type_; |
+ WebString integrity_; |
WebString client_id_; |
bool is_reload_; |
}; |
@@ -57,6 +58,10 @@ void WebServiceWorkerRequest::SetURL(const WebURL& url) { |
private_->url_ = url; |
} |
+const WebString& WebServiceWorkerRequest::Integrity() const { |
+ return private_->integrity_; |
+} |
+ |
const WebURL& WebServiceWorkerRequest::Url() const { |
return private_->url_; |
} |
@@ -151,6 +156,10 @@ void WebServiceWorkerRequest::SetCredentialsMode( |
private_->credentials_mode_ = credentials_mode; |
} |
+void WebServiceWorkerRequest::SetIntegrity(const WebString& integrity) { |
+ private_->integrity_ = integrity; |
+} |
+ |
WebURLRequest::FetchCredentialsMode WebServiceWorkerRequest::CredentialsMode() |
const { |
return private_->credentials_mode_; |