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

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

Issue 980353003: Extensions: Switch to new permission message system, part I (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review Created 5 years, 9 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
« no previous file with comments | « extensions/test/test_permission_message_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
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
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
OLDNEW
« no previous file with comments | « extensions/test/test_permission_message_provider.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698