Index: third_party/WebKit/public/platform/modules/background_fetch/WebBackgroundFetchSettledFetch.h |
diff --git a/third_party/WebKit/public/platform/modules/background_fetch/WebBackgroundFetchSettledFetch.h b/third_party/WebKit/public/platform/modules/background_fetch/WebBackgroundFetchSettledFetch.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..76b451f3c3e66e838390d8eb5430bb7ccfd657f5 |
--- /dev/null |
+++ b/third_party/WebKit/public/platform/modules/background_fetch/WebBackgroundFetchSettledFetch.h |
@@ -0,0 +1,27 @@ |
+// Copyright 2017 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef WebBackgroundFetchSettledFetch_h |
+#define WebBackgroundFetchSettledFetch_h |
+ |
+#include "public/platform/WebCommon.h" |
+#include "public/platform/modules/serviceworker/WebServiceWorkerRequest.h" |
+#include "public/platform/modules/serviceworker/WebServiceWorkerResponse.h" |
+ |
+namespace blink { |
+ |
+// Represents a request/response pair for a settled Background Fetch fetch. |
haraken
2017/03/24 02:15:40
a settled Background Fetch.
Peter Beverloo
2017/03/24 14:11:09
Done.
|
+// Analogous to the following structure in the spec: |
+// http://wicg.github.io/background-fetch/#backgroundfetchsettledfetch |
+struct WebBackgroundFetchSettledFetch { |
+ WebBackgroundFetchSettledFetch() = default; |
+ ~WebBackgroundFetchSettledFetch() = default; |
+ |
+ WebServiceWorkerRequest request; |
+ WebServiceWorkerResponse response; |
+}; |
+ |
+} // namespace blink |
+ |
+#endif // WebBackgroundFetchSettledFetch_h |