| Index: content/common/background_fetch/background_fetch_struct_traits.h
|
| diff --git a/content/common/background_fetch/background_fetch_struct_traits.h b/content/common/background_fetch/background_fetch_struct_traits.h
|
| index c824610e2b29c85016fa5769692fa7500ff3737e..9c936c33196d62be3e8926027264b70c139c7acc 100644
|
| --- a/content/common/background_fetch/background_fetch_struct_traits.h
|
| +++ b/content/common/background_fetch/background_fetch_struct_traits.h
|
| @@ -10,6 +10,7 @@
|
|
|
| #include "content/common/background_fetch/background_fetch_types.h"
|
| #include "content/common/content_export.h"
|
| +#include "content/common/service_worker/service_worker_event_dispatcher.mojom.h"
|
| #include "mojo/public/cpp/bindings/struct_traits.h"
|
| #include "third_party/WebKit/public/platform/modules/background_fetch/background_fetch.mojom.h"
|
|
|
| @@ -61,6 +62,23 @@ struct CONTENT_EXPORT
|
| };
|
|
|
| template <>
|
| +struct CONTENT_EXPORT
|
| + StructTraits<content::mojom::BackgroundFetchSettledFetchDataView,
|
| + content::BackgroundFetchSettledFetch> {
|
| + static const content::ServiceWorkerFetchRequest& request(
|
| + const content::BackgroundFetchSettledFetch& fetch) {
|
| + return fetch.request;
|
| + }
|
| + static const content::ServiceWorkerResponse& response(
|
| + const content::BackgroundFetchSettledFetch& fetch) {
|
| + return fetch.response;
|
| + }
|
| +
|
| + static bool Read(content::mojom::BackgroundFetchSettledFetchDataView data,
|
| + content::BackgroundFetchSettledFetch* definition);
|
| +};
|
| +
|
| +template <>
|
| struct CONTENT_EXPORT StructTraits<blink::mojom::IconDefinitionDataView,
|
| content::IconDefinition> {
|
| static const std::string& src(const content::IconDefinition& definition) {
|
|
|