summaryrefslogtreecommitdiffstats
path: root/extensions/common/permissions/extensions_api_permissions.h
blob: 2509f9d112e3b839b1b28f9b8a054958b7621882 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright 2014 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.

#ifndef EXTENSIONS_COMMON_PERMISSIONS_EXTENSIONS_API_PERMISSIONS_H_
#define EXTENSIONS_COMMON_PERMISSIONS_EXTENSIONS_API_PERMISSIONS_H_

#include "base/compiler_specific.h"
#include "extensions/common/permissions/permissions_provider.h"

namespace extensions {

class ExtensionsAPIPermissions : public PermissionsProvider {
 public:
  std::vector<APIPermissionInfo*> GetAllPermissions() const override;
  std::vector<PermissionsProvider::AliasInfo> GetAllAliases() const override;
};

}  // namespace extensions

#endif  // EXTENSIONS_COMMON_PERMISSIONS_EXTENSIONS_API_PERMISSIONS_H_