// Copyright 2014 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 CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_UI_MANAGER_ANDROID_H_ #define CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_UI_MANAGER_ANDROID_H_ #include "chrome/browser/notifications/notification_ui_manager.h" // Implementation of the Notification UI Manager for Android, which defers to // the Android framework for displaying notifications. class NotificationUIManagerAndroid : public NotificationUIManager { public: NotificationUIManagerAndroid(); virtual ~NotificationUIManagerAndroid(); // NotificationUIManager implementation; virtual void Add(const Notification& notification, Profile* profile) OVERRIDE; virtual bool Update(const Notification& notification, Profile* profile) OVERRIDE; virtual const Notification* FindById( const std::string& notification_id) const OVERRIDE; virtual bool CancelById(const std::string& notification_id) OVERRIDE; virtual std::set GetAllIdsByProfileAndSourceOrigin( Profile* profile, const GURL& source) OVERRIDE; virtual bool CancelAllBySourceOrigin(const GURL& source_origin) OVERRIDE; virtual bool CancelAllByProfile(Profile* profile) OVERRIDE; virtual void CancelAll() OVERRIDE; private: DISALLOW_COPY_AND_ASSIGN(NotificationUIManagerAndroid); }; #endif // CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_UI_MANAGER_ANDROID_H_