Fix content_browsertests on Linux GN build.
[chromium-blink-merge.git] / extensions / test / test_permission_message_provider.cc
blobd13c29769304838d2fe750eb09321c654df8625a
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 PermissionMessages TestPermissionMessageProvider::GetPermissionMessages(
16 const PermissionSet* permissions,
17 Manifest::Type extension_type) const {
18 return PermissionMessages();
21 CoalescedPermissionMessages
22 TestPermissionMessageProvider::GetCoalescedPermissionMessages(
23 const PermissionIDSet& permissions) const {
24 return CoalescedPermissionMessages();
27 std::vector<base::string16> TestPermissionMessageProvider::GetWarningMessages(
28 const PermissionSet* permissions,
29 Manifest::Type extension_type) const {
30 return std::vector<base::string16>();
33 std::vector<base::string16>
34 TestPermissionMessageProvider::GetWarningMessagesDetails(
35 const PermissionSet* permissions,
36 Manifest::Type extension_type) const {
37 return std::vector<base::string16>();
40 bool TestPermissionMessageProvider::IsPrivilegeIncrease(
41 const PermissionSet* old_permissions,
42 const PermissionSet* new_permissions,
43 Manifest::Type extension_type) const {
44 return false;
47 PermissionIDSet TestPermissionMessageProvider::GetAllPermissionIDs(
48 const PermissionSet* permissions,
49 Manifest::Type extension_type) const {
50 return PermissionIDSet();
53 } // namespace extensions