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

Side by Side Diff: extensions/test/test_permission_message_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
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_permission_message_provider.h"
6
7 namespace extensions {
8
9 TestPermissionMessageProvider::TestPermissionMessageProvider() {
10 }
11
12 TestPermissionMessageProvider::~TestPermissionMessageProvider() {
13 }
14
15 PermissionMessages TestPermissionMessageProvider::GetPermissionMessages(
16 const PermissionSet* permissions,
17 Manifest::Type extension_type) const {
18 return PermissionMessages();
19 }
20
21 std::vector<base::string16> TestPermissionMessageProvider::GetWarningMessages(
22 const PermissionSet* permissions,
23 Manifest::Type extension_type) const {
24 return std::vector<base::string16>();
25 }
26
27 std::vector<base::string16>
28 TestPermissionMessageProvider::GetWarningMessagesDetails(
29 const PermissionSet* permissions,
30 Manifest::Type extension_type) const {
31 return std::vector<base::string16>();
32 }
33
34 bool TestPermissionMessageProvider::IsPrivilegeIncrease(
35 const PermissionSet* old_permissions,
36 const PermissionSet* new_permissions,
37 Manifest::Type extension_type) const {
38 return false;
39 }
40
41 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/test/test_permission_message_provider.h ('k') | extensions/test/test_permissions_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698