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

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

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
« no previous file with comments | « extensions/test/test_permissions_provider.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "extensions/test/test_permissions_provider.h"
6
7 namespace extensions {
8
9 TestPermissionsProvider::TestPermissionsProvider() {}
10
11 TestPermissionsProvider::~TestPermissionsProvider() {}
12
13 std::vector<APIPermissionInfo*> TestPermissionsProvider::GetAllPermissions()
14 const {
15 // TODO(tfarina): This needs to have a "real" implementation, otherwise
16 // some tests under extensions_unittests will fail. http://crbug.com/348066
17 std::vector<APIPermissionInfo*> permissions;
18 return permissions;
19 }
20
21 std::vector<PermissionsProvider::AliasInfo>
22 TestPermissionsProvider::GetAllAliases() const {
23 std::vector<PermissionsProvider::AliasInfo> aliases;
24 return aliases;
25 }
26
27 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/test/test_permissions_provider.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698