1 // Copyright 2014 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 "chrome/browser/notifications/notification_ui_manager_android.h"
7 #include "base/logging.h"
10 NotificationUIManager
* NotificationUIManager::Create(PrefService
* local_state
) {
11 return new NotificationUIManagerAndroid();
14 NotificationUIManagerAndroid::NotificationUIManagerAndroid() {
17 NotificationUIManagerAndroid::~NotificationUIManagerAndroid() {
20 void NotificationUIManagerAndroid::Add(const Notification
& notification
,
22 // TODO(peter): Implement the NotificationUIManagerAndroid class.
26 bool NotificationUIManagerAndroid::Update(const Notification
& notification
,
31 const Notification
* NotificationUIManagerAndroid::FindById(
32 const std::string
& notification_id
) const {
36 bool NotificationUIManagerAndroid::CancelById(
37 const std::string
& notification_id
) {
42 NotificationUIManagerAndroid::GetAllIdsByProfileAndSourceOrigin(
45 return std::set
<std::string
>();
48 bool NotificationUIManagerAndroid::CancelAllBySourceOrigin(
49 const GURL
& source_origin
) {
53 bool NotificationUIManagerAndroid::CancelAllByProfile(Profile
* profile
) {
57 void NotificationUIManagerAndroid::CancelAll() {