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

Side by Side Diff: third_party/WebKit/public/platform/modules/background_fetch/WebBackgroundFetchSettledFetch.h

Issue 2767093004: Implement the BackgroundFetch{Fail,ed} Service Worker events (Closed)
Patch Set: add missing uma Created 3 years, 9 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 unified diff | Download patch
OLDNEW
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698