blob: 29890bd9f4d8d531c4d01cf9a4116d5d70e95ab8 [file] [log] [blame]
// Copyright (c) 2013 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 CHROME_COMMON_EXTENSIONS_PERMISSIONS_CHROME_API_PERMISSIONS_H_
#define CHROME_COMMON_EXTENSIONS_PERMISSIONS_CHROME_API_PERMISSIONS_H_
#include <vector>
#include "base/compiler_specific.h"
#include "extensions/common/permissions/permissions_provider.h"
namespace extensions {
// Registers the permissions used in Chrome with the PermissionsInfo global.
class ChromeAPIPermissions : public PermissionsProvider {
public:
std::vector<APIPermissionInfo*> GetAllPermissions() const override;
std::vector<PermissionsProvider::AliasInfo> GetAllAliases() const override;
};
} // namespace extensions
#endif // CHROME_COMMON_EXTENSIONS_PERMISSIONS_CHROME_API_PERMISSIONS_H_