Chromium Code Reviews| 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 abb13b9aab5ffb6584aea3c94541472b8fabb669..7890f27489a6874dd29228a9c9ad0247d1c1ab2a 100644 |
| --- a/content/common/service_worker/service_worker_types.h |
| +++ b/content/common/service_worker/service_worker_types.h |
| @@ -38,6 +38,22 @@ struct CONTENT_EXPORT ServiceWorkerFetchRequest { |
| std::map<std::string, std::string> headers; |
| }; |
| +// The response sent from the child process to the browser. |
| +struct CONTENT_EXPORT ServiceWorkerFetchResponse { |
| + ServiceWorkerFetchResponse(); |
| + ServiceWorkerFetchResponse( |
| + int statusCode, |
| + const std::string& statusText, |
| + const std::string& method, |
| + const std::map<std::string, std::string>& headers); |
| + ~ServiceWorkerFetchResponse(); |
| + |
| + int statusCode; |
| + std::string statusText; |
|
kinuko
2014/02/14 08:56:24
nit: we're in chrome, please use snake_case rather
falken
2014/02/19 05:32:19
Done.
|
| + std::string method; |
| + std::map<std::string, std::string> headers; |
| +}; |
| + |
| } // namespace content |
| #endif // CONTENT_COMMON_SERVICE_WORKER_SERVICE_WORKER_TYPES_H_ |