Upstreaming browser/ui/uikit_ui_util from iOS.
[chromium-blink-merge.git] / extensions / common / permissions / coalesced_permission_message.cc
blob8239ebec5d95bef2ae5602b94e3330ff9f29d62a
1 // Copyright 2013 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/common/permissions/coalesced_permission_message.h"
7 namespace extensions {
9 CoalescedPermissionMessage::CoalescedPermissionMessage(
10 const base::string16& message,
11 const PermissionIDSet& permissions)
12 : message_(message), permissions_(permissions) {
15 CoalescedPermissionMessage::CoalescedPermissionMessage(
16 const base::string16& message,
17 const PermissionIDSet& permissions,
18 const std::vector<base::string16>& submessages)
19 : message_(message), permissions_(permissions), submessages_(submessages) {
22 CoalescedPermissionMessage::~CoalescedPermissionMessage() {
25 } // namespace extensions