Delete chrome.mediaGalleriesPrivate because the functionality unique to it has since...
[chromium-blink-merge.git] / chrome / common / extensions / permissions / chrome_api_permissions.h
blob29890bd9f4d8d531c4d01cf9a4116d5d70e95ab8
1 // Copyright (c) 2013 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 CHROME_COMMON_EXTENSIONS_PERMISSIONS_CHROME_API_PERMISSIONS_H_
6 #define CHROME_COMMON_EXTENSIONS_PERMISSIONS_CHROME_API_PERMISSIONS_H_
8 #include <vector>
10 #include "base/compiler_specific.h"
11 #include "extensions/common/permissions/permissions_provider.h"
13 namespace extensions {
15 // Registers the permissions used in Chrome with the PermissionsInfo global.
16 class ChromeAPIPermissions : public PermissionsProvider {
17 public:
18 std::vector<APIPermissionInfo*> GetAllPermissions() const override;
19 std::vector<PermissionsProvider::AliasInfo> GetAllAliases() const override;
22 } // namespace extensions
24 #endif // CHROME_COMMON_EXTENSIONS_PERMISSIONS_CHROME_API_PERMISSIONS_H_