Fix crash on app list start page contents not existing.
[chromium-blink-merge.git] / extensions / common / permissions / permission_message.cc
blobbc2008e05862135bb00efa38c6c09f58c5b0b050
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 {
8 //
9 // PermissionMessage
12 PermissionMessage::PermissionMessage(
13 PermissionMessage::ID id, const base::string16& message)
14 : id_(id),
15 message_(message) {
18 PermissionMessage::PermissionMessage(
19 PermissionMessage::ID id,
20 const base::string16& message,
21 const base::string16& details)
22 : id_(id),
23 message_(message),
24 details_(details) {
27 PermissionMessage::~PermissionMessage() {}
29 } // namespace extensions