Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2017 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. | |
| 4 | |
| 5 #ifndef WebBackgroundFetchSettledFetch_h | |
| 6 #define WebBackgroundFetchSettledFetch_h | |
| 7 | |
| 8 #include "public/platform/WebCommon.h" | |
| 9 #include "public/platform/modules/serviceworker/WebServiceWorkerRequest.h" | |
| 10 #include "public/platform/modules/serviceworker/WebServiceWorkerResponse.h" | |
| 11 | |
| 12 namespace blink { | |
| 13 | |
| 14 // 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.
| |
| 15 // Analogous to the following structure in the spec: | |
| 16 // http://wicg.github.io/background-fetch/#backgroundfetchsettledfetch | |
| 17 struct WebBackgroundFetchSettledFetch { | |
| 18 WebBackgroundFetchSettledFetch() = default; | |
| 19 ~WebBackgroundFetchSettledFetch() = default; | |
| 20 | |
| 21 WebServiceWorkerRequest request; | |
| 22 WebServiceWorkerResponse response; | |
| 23 }; | |
| 24 | |
| 25 } // namespace blink | |
| 26 | |
| 27 #endif // WebBackgroundFetchSettledFetch_h | |
| OLD | NEW |