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
& delegate_id
,
33 ProfileID profile_id
) const {
37 bool NotificationUIManagerAndroid::CancelById(const std::string
& delegate_id
,
38 ProfileID profile_id
) {
43 NotificationUIManagerAndroid::GetAllIdsByProfileAndSourceOrigin(
46 return std::set
<std::string
>();
49 bool NotificationUIManagerAndroid::CancelAllBySourceOrigin(
50 const GURL
& source_origin
) {
54 bool NotificationUIManagerAndroid::CancelAllByProfile(Profile
* profile
) {
58 void NotificationUIManagerAndroid::CancelAll() {