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

Side by Side Diff: third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerStructTraits.h

Issue 2168513004: [DO NOT COMMIT] ServiceWorker: First touch of mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove an unnecessary file Created 4 years, 4 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 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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698