| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2016 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 WebServiceWorkerEventResultStructTraits_h |
| 6 #define WebServiceWorkerEventResultStructTraits_h |
| 7 |
| 8 #include "public/platform/modules/serviceworker/service_worker_event_status.mojo
m-blink.h" |
| 9 #include "public/platform/modules/serviceworker/WebServiceWorkerEventResult.h" |
| 10 |
| 11 namespace mojo { |
| 12 |
| 13 template <> |
| 14 struct EnumTraits<blink::mojom::blink::ServiceWorkerEventStatus, blink::WebServi
ceWorkerEventResult> { |
| 15 static blink::mojom::blink::ServiceWorkerEventStatus ToMojom(blink::WebServi
ceWorkerEventResult input); |
| 16 static bool FromMojom(blink::mojom::blink::ServiceWorkerEventStatus input, b
link::WebServiceWorkerEventResult* output); |
| 17 }; |
| 18 |
| 19 } // namespace mojo |
| 20 |
| 21 #endif |
| OLD | NEW |