Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / extensions / common / permissions / permission_message.cc
blob416b6c970bac4908877e21b64377c8c8ed78ba9f
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/permission_message.h"
7 namespace extensions {
9 PermissionMessage::PermissionMessage(const base::string16& message,
10 const PermissionIDSet& permissions)
11 : message_(message), permissions_(permissions) {}
13 PermissionMessage::PermissionMessage(
14 const base::string16& message,
15 const PermissionIDSet& permissions,
16 const std::vector<base::string16>& submessages)
17 : message_(message), permissions_(permissions), submessages_(submessages) {}
19 PermissionMessage::~PermissionMessage() {}
21 } // namespace extensions