| Index: content/common/service_worker/service_worker_type_converters.h
|
| diff --git a/content/common/service_worker/service_worker_type_converters.h b/content/common/service_worker/service_worker_type_converters.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..42606e34dc987d2e6e15f39f6b72f5d4e52463fc
|
| --- /dev/null
|
| +++ b/content/common/service_worker/service_worker_type_converters.h
|
| @@ -0,0 +1,22 @@
|
| +// Copyright 2015 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CONTENT_COMMON_SERVICE_WORKER_SERVICE_WORKER_TYPE_CONVERTERS_H_
|
| +#define CONTENT_COMMON_SERVICE_WORKER_SERVICE_WORKER_TYPE_CONVERTERS_H_
|
| +
|
| +#include "content/common/service_worker/service_worker_status_code.h"
|
| +#include "content/public/common/service_worker_event_status.mojom.h"
|
| +
|
| +namespace mojo {
|
| +
|
| +template <>
|
| +struct CONTENT_EXPORT TypeConverter<content::ServiceWorkerStatusCode,
|
| + content::ServiceWorkerEventStatus> {
|
| + static content::ServiceWorkerStatusCode Convert(
|
| + content::ServiceWorkerEventStatus status);
|
| +};
|
| +
|
| +} // namespace
|
| +
|
| +#endif // CONTENT_COMMON_SERVICE_WORKER_SERVICE_WORKER_TYPE_CONVERTERS_H_
|
|
|