blob: 88ea8d9a274ad6ce579a898a9c8726272a364386 [file] [log] [blame]
// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROMEOS_CROSAPI_CPP_CHANNEL_TO_ENUM_H_
#define CHROMEOS_CROSAPI_CPP_CHANNEL_TO_ENUM_H_
#include <string_view>
#include "base/component_export.h"
#include "chromeos/crosapi/cpp/crosapi_constants.h"
#include "components/version_info/channel.h"
namespace crosapi {
COMPONENT_EXPORT(CROSAPI)
version_info::Channel ChannelToEnum(std::string_view channel);
} // namespace crosapi
#endif // CHROMEOS_CROSAPI_CPP_CHANNEL_TO_ENUM_H_