1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "content/common/service_worker/service_worker_types.h"
9 ServiceWorkerFetchRequest::ServiceWorkerFetchRequest() {}
11 ServiceWorkerFetchRequest::ServiceWorkerFetchRequest(
13 const std::string& method,
14 const std::map<std::string, std::string>& headers)
20 ServiceWorkerFetchRequest::~ServiceWorkerFetchRequest() {}
22 ServiceWorkerResponse::ServiceWorkerResponse() : status_code(0) {}
24 ServiceWorkerResponse::ServiceWorkerResponse(
26 const std::string& status_text,
27 const std::string& method,
28 const std::map<std::string, std::string>& headers)
29 : status_code(status_code),
30 status_text(status_text),
34 ServiceWorkerResponse::~ServiceWorkerResponse() {}
36 ServiceWorkerObjectInfo::ServiceWorkerObjectInfo()
37 : handle_id(kInvalidServiceWorkerHandleId),
38 state(blink::WebServiceWorkerStateUnknown) {}
40 } // namespace content