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..e5b7e90e19087ad1e24ea9db44a33631d32341ba |
--- /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. |
+// 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 |