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

Side by Side Diff: content/common/service_worker/service_worker_types_traits.h

Issue 2638313002: Manage ServiceWorkerDispatcherHost in ServiceWorkerContextCore (Closed)
Patch Set: Rebase Created 3 years, 10 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 CONTENT_COMMON_SERVICE_WORKER_SERVICE_WORKER_TYPES_TRAITS_H_
6 #define CONTENT_COMMON_SERVICE_WORKER_SERVICE_WORKER_TYPES_TRAITS_H_
7
8 #include "content/common/service_worker/service_worker_types.mojom.h"
9
10 namespace mojo {
11
12 template <>
13 struct EnumTraits<content::mojom::ServiceWorkerProviderType,
14 content::ServiceWorkerProviderType> {
15 static content::mojom::ServiceWorkerProviderType ToMojom(
16 content::ServiceWorkerProviderType input);
17
18 static bool FromMojom(content::mojom::ServiceWorkerProviderType input,
19 content::ServiceWorkerProviderType* out);
20 };
21
22 } // namespace mojo
23
24 #endif // CONTENT_COMMON_SERVICE_WORKER_SERVICE_WORKER_TYPES_TRAITS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698