summaryrefslogtreecommitdiffstats
path: root/extensions/common/permissions/coalesced_permission_message.cc
blob: 8239ebec5d95bef2ae5602b94e3330ff9f29d62a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "extensions/common/permissions/coalesced_permission_message.h"

namespace extensions {

CoalescedPermissionMessage::CoalescedPermissionMessage(
    const base::string16& message,
    const PermissionIDSet& permissions)
    : message_(message), permissions_(permissions) {
}

CoalescedPermissionMessage::CoalescedPermissionMessage(
    const base::string16& message,
    const PermissionIDSet& permissions,
    const std::vector<base::string16>& submessages)
    : message_(message), permissions_(permissions), submessages_(submessages) {
}

CoalescedPermissionMessage::~CoalescedPermissionMessage() {
}

}  // namespace extensions