blob: 8ec579c2ae1b57ae5c4e9d5ee763258d3f96f138 [file] [log] [blame]
// Copyright 2018 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.
#ifndef COMPONENTS_EXO_NOTIFICATION_H_
#define COMPONENTS_EXO_NOTIFICATION_H_
#include <string>
#include "base/callback.h"
namespace exo {
// Handles notification shown in message center.
class Notification {
public:
Notification(const std::string& title,
const std::string& message,
const std::string& display_source,
const std::string& notification_id,
const std::string& notifier_id,
const base::RepeatingCallback<void(bool)>& close_callback);
// Closes this notification.
void Close();
private:
const std::string notification_id_;
DISALLOW_COPY_AND_ASSIGN(Notification);
};
} // namespace exo
#endif // COMPONENTS_EXO_NOTIFICATION_H_