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_TEST_TEST_PERMISSIONS_PROVIDER_H_
6 #define EXTENSIONS_TEST_TEST_PERMISSIONS_PROVIDER_H_
8 #include "base/macros.h"
9 #include "extensions/common/permissions/permissions_provider.h"
11 namespace extensions
{
13 class TestPermissionsProvider
: public PermissionsProvider
{
15 TestPermissionsProvider();
16 virtual ~TestPermissionsProvider();
19 // PermissionsProvider:
20 virtual std::vector
<APIPermissionInfo
*> GetAllPermissions() const OVERRIDE
;
21 virtual std::vector
<AliasInfo
> GetAllAliases() const OVERRIDE
;
23 DISALLOW_COPY_AND_ASSIGN(TestPermissionsProvider
);
26 } // namespace extensions
28 #endif // EXTENSIONS_TEST_TEST_PERMISSIONS_PROVIDER_H_