Roll PDFium to 7f6b084
[chromium-blink-merge.git] / extensions / test / test_permission_message_provider.cc
blobd05b323b8e63b4c5043be22583ace137ad6e523a
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.
5 #include "extensions/test/test_permission_message_provider.h"
7 namespace extensions {
9 TestPermissionMessageProvider::TestPermissionMessageProvider() {
12 TestPermissionMessageProvider::~TestPermissionMessageProvider() {
15 CoalescedPermissionMessages
16 TestPermissionMessageProvider::GetPermissionMessages(
17 const PermissionIDSet& permissions) const {
18 return CoalescedPermissionMessages();
21 bool TestPermissionMessageProvider::IsPrivilegeIncrease(
22 const PermissionSet* old_permissions,
23 const PermissionSet* new_permissions,
24 Manifest::Type extension_type) const {
25 return false;
28 PermissionIDSet TestPermissionMessageProvider::GetAllPermissionIDs(
29 const PermissionSet* permissions,
30 Manifest::Type extension_type) const {
31 return PermissionIDSet();
34 } // namespace extensions