Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1583)

Unified Diff: content/common/service_worker/service_worker_types.cc

Issue 164753006: Start of Chrome-side plumbing for ServiceWorker fetch (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove empty line Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 05ef86420a57cd10a7f52f9a4974216ab00d510d..d4d863e68ed303e93ac27a9efa5a57f746acbdbf 100644
--- a/content/common/service_worker/service_worker_types.cc
+++ b/content/common/service_worker/service_worker_types.cc
@@ -19,4 +19,19 @@ ServiceWorkerFetchRequest::ServiceWorkerFetchRequest(
ServiceWorkerFetchRequest::~ServiceWorkerFetchRequest() {}
+ServiceWorkerFetchResponse::ServiceWorkerFetchResponse() {}
+
+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) {
+}
+
+ServiceWorkerFetchResponse::~ServiceWorkerFetchResponse() {}
+
} // namespace content
« no previous file with comments | « content/common/service_worker/service_worker_types.h ('k') | content/renderer/service_worker/embedded_worker_context_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698