Updating trunk VERSION from 2139.0 to 2140.0
[chromium-blink-merge.git] / extensions / test / test_permission_message_provider.cc
blob288b62212ad6a76cb3fdcb9735f3be2d996bccae
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 std::vector<base::string16> TestPermissionMessageProvider::GetWarningMessages(
22 const PermissionSet* permissions,
23 Manifest::Type extension_type) const {
24 return std::vector<base::string16>();
27 std::vector<base::string16>
28 TestPermissionMessageProvider::GetWarningMessagesDetails(
29 const PermissionSet* permissions,
30 Manifest::Type extension_type) const {
31 return std::vector<base::string16>();
34 bool TestPermissionMessageProvider::IsPrivilegeIncrease(
35 const PermissionSet* old_permissions,
36 const PermissionSet* new_permissions,
37 Manifest::Type extension_type) const {
38 return false;
41 } // namespace extensions