chromium/content/browser/service_worker/service_worker_type_converters.cc

// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "content/browser/service_worker/service_worker_type_converters.h"

#include "base/notreached.h"

namespace mojo {

// TODO(falken): TypeConverter is deprecated, and we should change
// ServiceWorkerVersion to just use the mojom enum, but it will be a huge change
// so we use the mojo type converter temporarily as an identifier to track.
blink::mojom::ServiceWorkerState
TypeConverter<blink::mojom::ServiceWorkerState,
              content::ServiceWorkerVersion::Status>::
    Convert(content::ServiceWorkerVersion::Status status) {}

}  // namespace mojo