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. 4 5 #ifndef EXTENSIONS_COMMON_PERMISSIONS_EXTENSIONS_API_PERMISSIONS_H_ 6 #define EXTENSIONS_COMMON_PERMISSIONS_EXTENSIONS_API_PERMISSIONS_H_ 7 8 #include "base/compiler_specific.h" 9 #include "extensions/common/permissions/permissions_provider.h" 10 11 namespace extensions { 12 13 class ExtensionsAPIPermissions : public PermissionsProvider { 14 public: 15 virtual std::vector<APIPermissionInfo*> GetAllPermissions() const OVERRIDE; 16 virtual std::vector<PermissionsProvider::AliasInfo> GetAllAliases() 17 const OVERRIDE; 18 }; 19 20 } // namespace extensions 21 22 #endif // EXTENSIONS_COMMON_PERMISSIONS_EXTENSIONS_API_PERMISSIONS_H_ 23