Index: content/common/service_worker/service_worker_types.cc |
diff --git a/content/common/service_worker/service_worker_types.cc b/content/common/service_worker/service_worker_types.cc |
index c6be99d9c7c797eff842c756d0a41fe397fd1e95..e6152b7a7ee3b101f789bea82dfe5ed56afaba69 100644 |
--- a/content/common/service_worker/service_worker_types.cc |
+++ b/content/common/service_worker/service_worker_types.cc |
@@ -21,7 +21,8 @@ ServiceWorkerFetchRequest::ServiceWorkerFetchRequest() |
frame_type(REQUEST_CONTEXT_FRAME_TYPE_NONE), |
blob_size(0), |
credentials_mode(FETCH_CREDENTIALS_MODE_OMIT), |
- is_reload(false) { |
+ is_reload(false), |
+ client(ServiceWorkerClientInfo()) { |
} |
ServiceWorkerFetchRequest::ServiceWorkerFetchRequest( |
@@ -29,7 +30,8 @@ ServiceWorkerFetchRequest::ServiceWorkerFetchRequest( |
const std::string& method, |
const ServiceWorkerHeaderMap& headers, |
const Referrer& referrer, |
- bool is_reload) |
+ bool is_reload, |
+ const ServiceWorkerClientInfo& client) |
: mode(FETCH_REQUEST_MODE_NO_CORS), |
request_context_type(REQUEST_CONTEXT_TYPE_UNSPECIFIED), |
frame_type(REQUEST_CONTEXT_FRAME_TYPE_NONE), |
@@ -39,7 +41,8 @@ ServiceWorkerFetchRequest::ServiceWorkerFetchRequest( |
blob_size(0), |
referrer(referrer), |
credentials_mode(FETCH_CREDENTIALS_MODE_OMIT), |
- is_reload(is_reload) { |
+ is_reload(is_reload), |
+ client(client) { |
} |
ServiceWorkerFetchRequest::~ServiceWorkerFetchRequest() {} |