blob: a2429fd9dc70f3646ff1c6d1d4470de272aa7a83 [file] [log] [blame]
// Copyright (c) 2018 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.
#include <vector>
#include "base/containers/span.h"
#include "extensions/common/alias.h"
#include "extensions/common/permissions/api_permission.h"
namespace cast_api_permissions {
// Returns the information necessary to construct the APIPermissions usable in
// chromecast.
base::span<const extensions::APIPermissionInfo::InitInfo> GetPermissionInfos();
// Returns the list of aliases for extension APIPermissions usable in
// chromecast.
std::vector<extensions::Alias> GetPermissionAliases();
} // namespace cast_api_permissions