// Copyright 2013 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_MESSAGE_CENTER_MESSAGE_CENTER_OBSERVER_H_ #define UI_MESSAGE_CENTER_MESSAGE_CENTER_OBSERVER_H_ #include <optional> #include <string> #include "base/observer_list_types.h" #include "ui/message_center/message_center_export.h" #include "ui/message_center/message_center_types.h" namespace message_center { class NotificationBlocker; // An observer class for the change of notifications in the MessageCenter. // WARNING: It is not safe to modify the message center from within these // callbacks. class MESSAGE_CENTER_EXPORT MessageCenterObserver : public base::CheckedObserver { … }; } // namespace message_center #endif // UI_MESSAGE_CENTER_MESSAGE_CENTER_OBSERVER_H_