| Index: content/common/background_fetch/background_fetch_struct_traits.cc
|
| diff --git a/content/common/background_fetch/background_fetch_struct_traits.cc b/content/common/background_fetch/background_fetch_struct_traits.cc
|
| index 50dd6d654cb5c7fbe5d9be00f462bd9c704a6514..b64a633d5dd4460563b765c5dac681d404d95c79 100644
|
| --- a/content/common/background_fetch/background_fetch_struct_traits.cc
|
| +++ b/content/common/background_fetch/background_fetch_struct_traits.cc
|
| @@ -4,6 +4,7 @@
|
|
|
| #include "content/common/background_fetch/background_fetch_struct_traits.h"
|
|
|
| +#include "content/common/service_worker/service_worker_messages.h"
|
| #include "mojo/public/cpp/bindings/array_data_view.h"
|
|
|
| namespace mojo {
|
| @@ -36,6 +37,15 @@ bool StructTraits<blink::mojom::BackgroundFetchRegistrationDataView,
|
| }
|
|
|
| // static
|
| +bool StructTraits<content::mojom::BackgroundFetchSettledFetchDataView,
|
| + content::BackgroundFetchSettledFetch>::
|
| + Read(content::mojom::BackgroundFetchSettledFetchDataView data,
|
| + content::BackgroundFetchSettledFetch* fetch) {
|
| + return data.ReadRequest(&fetch->request) &&
|
| + data.ReadResponse(&fetch->response);
|
| +}
|
| +
|
| +// static
|
| bool StructTraits<
|
| blink::mojom::IconDefinitionDataView,
|
| content::IconDefinition>::Read(blink::mojom::IconDefinitionDataView data,
|
|
|