1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef EXTENSIONS_COMMON_PERMISSIONS_EXTENSIONS_API_PERMISSIONS_H_
6 #define EXTENSIONS_COMMON_PERMISSIONS_EXTENSIONS_API_PERMISSIONS_H_
8 #include "base/compiler_specific.h"
9 #include "extensions/common/permissions/permissions_provider.h"
11 namespace extensions
{
13 class ExtensionsAPIPermissions
: public PermissionsProvider
{
15 std::vector
<APIPermissionInfo
*> GetAllPermissions() const override
;
16 std::vector
<PermissionsProvider::AliasInfo
> GetAllAliases() const override
;
19 } // namespace extensions
21 #endif // EXTENSIONS_COMMON_PERMISSIONS_EXTENSIONS_API_PERMISSIONS_H_