Chromium Code Reviews| 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 d4d863e68ed303e93ac27a9efa5a57f746acbdbf..2fe8a14940c031648fa2618571ae26210597058d 100644 |
| --- a/content/common/service_worker/service_worker_types.cc |
| +++ b/content/common/service_worker/service_worker_types.cc |
| @@ -19,19 +19,15 @@ ServiceWorkerFetchRequest::ServiceWorkerFetchRequest( |
| ServiceWorkerFetchRequest::~ServiceWorkerFetchRequest() {} |
| -ServiceWorkerFetchResponse::ServiceWorkerFetchResponse() {} |
| +ServiceWorkerResponse::ServiceWorkerResponse() {} |
| -ServiceWorkerFetchResponse::ServiceWorkerFetchResponse( |
| - int status_code, |
| - const std::string& status_text, |
| - const std::string& method, |
| - const std::map<std::string, std::string>& headers) |
| - : status_code(status_code), |
| - status_text(status_text), |
| - method(method), |
| - headers(headers) { |
| +ServiceWorkerResponse::ServiceWorkerResponse( |
|
kinuko
2014/03/04 06:39:17
(I guess this part may change if we're directly go
falken
2014/03/05 03:35:41
Although WebServiceWorkerResponse is now in public
kinuko
2014/03/05 04:01:30
Right, nvm
|
| + const blink::WebServiceWorkerResponse& response) { |
| + status_code = response.statusCode(); |
| + status_text = response.statusText().utf8(); |
| + method = response.method().utf8(); |
| } |
| -ServiceWorkerFetchResponse::~ServiceWorkerFetchResponse() {} |
| +ServiceWorkerResponse::~ServiceWorkerResponse() {} |
| } // namespace content |