• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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.
4 
5 #include "chrome/browser/notifications/notification_ui_manager_android.h"
6 
7 #include "base/logging.h"
8 
9 // static
Create(PrefService * local_state)10 NotificationUIManager* NotificationUIManager::Create(PrefService* local_state) {
11   return new NotificationUIManagerAndroid();
12 }
13 
NotificationUIManagerAndroid()14 NotificationUIManagerAndroid::NotificationUIManagerAndroid() {
15 }
16 
~NotificationUIManagerAndroid()17 NotificationUIManagerAndroid::~NotificationUIManagerAndroid() {
18 }
19 
Add(const Notification & notification,Profile * profile)20 void NotificationUIManagerAndroid::Add(const Notification& notification,
21                                        Profile* profile) {
22   // TODO(peter): Implement the NotificationUIManagerAndroid class.
23   NOTIMPLEMENTED();
24 }
25 
Update(const Notification & notification,Profile * profile)26 bool NotificationUIManagerAndroid::Update(const Notification& notification,
27                                           Profile* profile) {
28   return false;
29 }
30 
FindById(const std::string & notification_id) const31 const Notification* NotificationUIManagerAndroid::FindById(
32     const std::string& notification_id) const {
33   return 0;
34 }
35 
CancelById(const std::string & notification_id)36 bool NotificationUIManagerAndroid::CancelById(
37     const std::string& notification_id) {
38   return false;
39 }
40 
41 std::set<std::string>
GetAllIdsByProfileAndSourceOrigin(Profile * profile,const GURL & source)42 NotificationUIManagerAndroid::GetAllIdsByProfileAndSourceOrigin(
43     Profile* profile,
44     const GURL& source) {
45   return std::set<std::string>();
46 }
47 
CancelAllBySourceOrigin(const GURL & source_origin)48 bool NotificationUIManagerAndroid::CancelAllBySourceOrigin(
49     const GURL& source_origin) {
50   return false;
51 }
52 
CancelAllByProfile(Profile * profile)53 bool NotificationUIManagerAndroid::CancelAllByProfile(Profile* profile) {
54   return false;
55 }
56 
CancelAll()57 void NotificationUIManagerAndroid::CancelAll() {
58 }
59