Updating trunk VERSION from 2139.0 to 2140.0
[chromium-blink-merge.git] / extensions / test / test_permissions_provider.h
blob95b513e9c1b15bc2e47c1059e9fd41ceb3bd9195
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 {
14 public:
15 TestPermissionsProvider();
16 virtual ~TestPermissionsProvider();
18 private:
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_