blob: 7de85afbbd72843839ca8658e8940724a8698439 [file] [log] [blame] [edit]
// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROMECAST_MEDIA_BASE_KEY_SYSTEMS_COMMON_H_
#define CHROMECAST_MEDIA_BASE_KEY_SYSTEMS_COMMON_H_
#include <string>
#include "chromecast/chromecast_buildflags.h"
#include "chromecast/public/media/cast_key_system.h"
namespace chromecast {
namespace media {
// Translates a key system string into a CastKeySystem, calling into the
// platform for known key systems if needed.
CastKeySystem GetKeySystemByName(const std::string& key_system_name);
} // namespace media
} // namespace chromecast
#endif // CHROMECAST_MEDIA_BASE_KEY_SYSTEMS_COMMON_H_