OLD | NEW |
---|---|
(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 PermissionMessages messages; | |
19 return messages; | |
Yoyo Zhou
2014/04/11 21:10:29
nit: return PermissionMessages();
tfarina
2014/04/13 21:40:52
Done.
| |
20 } | |
21 | |
22 std::vector<base::string16> TestPermissionMessageProvider::GetWarningMessages( | |
23 const PermissionSet* permissions, | |
24 Manifest::Type extension_type) const { | |
25 std::vector<base::string16> message_strings; | |
26 return message_strings; | |
27 } | |
28 | |
29 std::vector<base::string16> | |
30 TestPermissionMessageProvider::GetWarningMessagesDetails( | |
31 const PermissionSet* permissions, | |
32 Manifest::Type extension_type) const { | |
33 std::vector<base::string16> message_strings; | |
34 return message_strings; | |
35 } | |
36 | |
37 bool TestPermissionMessageProvider::IsPrivilegeIncrease( | |
38 const PermissionSet* old_permissions, | |
39 const PermissionSet* new_permissions, | |
40 Manifest::Type extension_type) const { | |
41 return false; | |
42 } | |
43 | |
44 } // namespace extensions | |
OLD | NEW |