summaryrefslogtreecommitdiffstats
path: root/extensions/common/permissions/permission_message.cc
blob: bc2008e05862135bb00efa38c6c09f58c5b0b050 (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
26
27
28
29
// 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/permission_message.h"

namespace extensions {
//
// PermissionMessage
//

PermissionMessage::PermissionMessage(
    PermissionMessage::ID id, const base::string16& message)
  : id_(id),
    message_(message) {
}

PermissionMessage::PermissionMessage(
    PermissionMessage::ID id,
    const base::string16& message,
    const base::string16& details)
  : id_(id),
    message_(message),
    details_(details) {
}

PermissionMessage::~PermissionMessage() {}

}  // namespace extensions