| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "extensions/test/test_permission_message_provider.h" | 5 #include "extensions/test/test_permission_message_provider.h" |
| 6 | 6 |
| 7 namespace extensions { | 7 namespace extensions { |
| 8 | 8 |
| 9 TestPermissionMessageProvider::TestPermissionMessageProvider() { | 9 TestPermissionMessageProvider::TestPermissionMessageProvider() { |
| 10 } | 10 } |
| 11 | 11 |
| 12 TestPermissionMessageProvider::~TestPermissionMessageProvider() { | 12 TestPermissionMessageProvider::~TestPermissionMessageProvider() { |
| 13 } | 13 } |
| 14 | 14 |
| 15 PermissionMessageStrings | |
| 16 TestPermissionMessageProvider::GetPermissionMessageStrings( | |
| 17 const PermissionSet* permissions, | |
| 18 Manifest::Type extension_type) const { | |
| 19 return PermissionMessageStrings(); | |
| 20 } | |
| 21 | |
| 22 PermissionMessageIDs | 15 PermissionMessageIDs |
| 23 TestPermissionMessageProvider::GetLegacyPermissionMessageIDs( | 16 TestPermissionMessageProvider::GetLegacyPermissionMessageIDs( |
| 24 const PermissionSet* permissions, | 17 const PermissionSet* permissions, |
| 25 Manifest::Type extension_type) const { | 18 Manifest::Type extension_type) const { |
| 26 return PermissionMessageIDs(); | 19 return PermissionMessageIDs(); |
| 27 } | 20 } |
| 28 | 21 |
| 29 CoalescedPermissionMessages | 22 CoalescedPermissionMessages |
| 30 TestPermissionMessageProvider::GetCoalescedPermissionMessages( | 23 TestPermissionMessageProvider::GetCoalescedPermissionMessages( |
| 31 const PermissionIDSet& permissions) const { | 24 const PermissionIDSet& permissions) const { |
| (...skipping 21 matching lines...) Expand all Loading... |
| 53 return false; | 46 return false; |
| 54 } | 47 } |
| 55 | 48 |
| 56 PermissionIDSet TestPermissionMessageProvider::GetAllPermissionIDs( | 49 PermissionIDSet TestPermissionMessageProvider::GetAllPermissionIDs( |
| 57 const PermissionSet* permissions, | 50 const PermissionSet* permissions, |
| 58 Manifest::Type extension_type) const { | 51 Manifest::Type extension_type) const { |
| 59 return PermissionIDSet(); | 52 return PermissionIDSet(); |
| 60 } | 53 } |
| 61 | 54 |
| 62 } // namespace extensions | 55 } // namespace extensions |
| OLD | NEW |