#ifndef ASH_ASSISTANT_MODEL_ASSISTANT_NOTIFICATION_MODEL_OBSERVER_H_
#define ASH_ASSISTANT_MODEL_ASSISTANT_NOTIFICATION_MODEL_OBSERVER_H_
#include "base/component_export.h"
#include "base/observer_list_types.h"
namespace ash {
namespace assistant {
struct AssistantNotification;
}
class COMPONENT_EXPORT(ASSISTANT_MODEL) AssistantNotificationModelObserver
: public base::CheckedObserver {
public:
using AssistantNotification = assistant::AssistantNotification;
virtual void OnNotificationAdded(const AssistantNotification& notification) {}
virtual void OnNotificationUpdated(
const AssistantNotification& notification) {}
virtual void OnNotificationRemoved(const AssistantNotification& notification,
bool from_server) {}
virtual void OnAllNotificationsRemoved(bool from_server) {}
protected:
~AssistantNotificationModelObserver() override = default;
};
}
#endif