Home | History | Annotate | Download | only in test
      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_TEST_TEST_PERMISSIONS_PROVIDER_H_
      6 #define EXTENSIONS_TEST_TEST_PERMISSIONS_PROVIDER_H_
      7 
      8 #include "base/macros.h"
      9 #include "extensions/common/permissions/permissions_provider.h"
     10 
     11 namespace extensions {
     12 
     13 class TestPermissionsProvider : public PermissionsProvider {
     14  public:
     15   TestPermissionsProvider();
     16   virtual ~TestPermissionsProvider();
     17 
     18  private:
     19   // PermissionsProvider:
     20   virtual std::vector<APIPermissionInfo*> GetAllPermissions() const OVERRIDE;
     21   virtual std::vector<AliasInfo> GetAllAliases() const OVERRIDE;
     22 
     23   DISALLOW_COPY_AND_ASSIGN(TestPermissionsProvider);
     24 };
     25 
     26 }  // namespace extensions
     27 
     28 #endif  // EXTENSIONS_TEST_TEST_PERMISSIONS_PROVIDER_H_
     29