| Index: content/common/service_worker/service_worker_types.h
|
| diff --git a/content/common/service_worker/service_worker_types.h b/content/common/service_worker/service_worker_types.h
|
| index 319e2722805e280f845cda30c55118125aea71a0..73bccbc5a88a37f73b820e6b5ec982f31cdfdbd1 100644
|
| --- a/content/common/service_worker/service_worker_types.h
|
| +++ b/content/common/service_worker/service_worker_types.h
|
| @@ -59,15 +59,18 @@ enum ServiceWorkerFetchEventResult {
|
| // Represents a response to a fetch.
|
| struct CONTENT_EXPORT ServiceWorkerResponse {
|
| ServiceWorkerResponse();
|
| + // TODO(kinuko): Deprecate this once blink side patch is rolled.
|
| ServiceWorkerResponse(int status_code,
|
| const std::string& status_text,
|
| const std::string& method,
|
| const std::map<std::string, std::string>& headers);
|
| + ServiceWorkerResponse(int status_code,
|
| + const std::string& status_text,
|
| + const std::map<std::string, std::string>& headers);
|
| ~ServiceWorkerResponse();
|
|
|
| int status_code;
|
| std::string status_text;
|
| - std::string method;
|
| std::map<std::string, std::string> headers;
|
| };
|
|
|
|
|