Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(139)

Side by Side Diff: extensions/test/test_permissions_provider.h

Issue 234563003: extensions: Introduce a fake ExtensionsClient implementation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address yoz review Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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_
OLDNEW
« no previous file with comments | « extensions/test/test_permission_message_provider.cc ('k') | extensions/test/test_permissions_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698