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..db88ad861e1e662d74f4bc330e7e0ff1623aaa34 100644 |
--- a/content/common/background_fetch/background_fetch_struct_traits.cc |
+++ b/content/common/background_fetch/background_fetch_struct_traits.cc |
@@ -4,6 +4,8 @@ |
#include "content/common/background_fetch/background_fetch_struct_traits.h" |
+#include "content/common/service_worker/service_worker_event_dispatcher.mojom.h" |
+#include "content/common/service_worker/service_worker_messages.h" |
#include "mojo/public/cpp/bindings/array_data_view.h" |
namespace mojo { |
@@ -36,6 +38,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, |