Don't preload rarely seen large images
[chromium-blink-merge.git] / extensions / test / test_permission_message_provider.cc
blob6f7a7d861820004c22029f523fc22357326034a5
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 PermissionMessageIDs
16 TestPermissionMessageProvider::GetLegacyPermissionMessageIDs(
17 const PermissionSet* permissions,
18 Manifest::Type extension_type) const {
19 return PermissionMessageIDs();
22 CoalescedPermissionMessages
23 TestPermissionMessageProvider::GetCoalescedPermissionMessages(
24 const PermissionIDSet& permissions) const {
25 return CoalescedPermissionMessages();
28 std::vector<base::string16>
29 TestPermissionMessageProvider::GetLegacyWarningMessages(
30 const PermissionSet* permissions,
31 Manifest::Type extension_type) const {
32 return std::vector<base::string16>();
35 std::vector<base::string16>
36 TestPermissionMessageProvider::GetLegacyWarningMessagesDetails(
37 const PermissionSet* permissions,
38 Manifest::Type extension_type) const {
39 return std::vector<base::string16>();
42 bool TestPermissionMessageProvider::IsPrivilegeIncrease(
43 const PermissionSet* old_permissions,
44 const PermissionSet* new_permissions,
45 Manifest::Type extension_type) const {
46 return false;
49 PermissionIDSet TestPermissionMessageProvider::GetAllPermissionIDs(
50 const PermissionSet* permissions,
51 Manifest::Type extension_type) const {
52 return PermissionIDSet();
55 } // namespace extensions