OLD | NEW |
(Empty) | |
| 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 |
| 10 NotificationUIManager* NotificationUIManager::Create(PrefService* local_state) { |
| 11 return new NotificationUIManagerAndroid(); |
| 12 } |
| 13 |
| 14 NotificationUIManagerAndroid::NotificationUIManagerAndroid() { |
| 15 } |
| 16 |
| 17 NotificationUIManagerAndroid::~NotificationUIManagerAndroid() { |
| 18 } |
| 19 |
| 20 void NotificationUIManagerAndroid::Add(const Notification& notification, |
| 21 Profile* profile) { |
| 22 // TODO(peter): Implement the NotificationUIManagerAndroid class. |
| 23 NOTIMPLEMENTED(); |
| 24 } |
| 25 |
| 26 bool NotificationUIManagerAndroid::Update(const Notification& notification, |
| 27 Profile* profile) { |
| 28 return false; |
| 29 } |
| 30 |
| 31 const Notification* NotificationUIManagerAndroid::FindById( |
| 32 const std::string& notification_id) const { |
| 33 return 0; |
| 34 } |
| 35 |
| 36 bool NotificationUIManagerAndroid::CancelById( |
| 37 const std::string& notification_id) { |
| 38 return false; |
| 39 } |
| 40 |
| 41 std::set<std::string> |
| 42 NotificationUIManagerAndroid::GetAllIdsByProfileAndSourceOrigin( |
| 43 Profile* profile, |
| 44 const GURL& source) { |
| 45 return std::set<std::string>(); |
| 46 } |
| 47 |
| 48 bool NotificationUIManagerAndroid::CancelAllBySourceOrigin( |
| 49 const GURL& source_origin) { |
| 50 return false; |
| 51 } |
| 52 |
| 53 bool NotificationUIManagerAndroid::CancelAllByProfile(Profile* profile) { |
| 54 return false; |
| 55 } |
| 56 |
| 57 void NotificationUIManagerAndroid::CancelAll() { |
| 58 } |
OLD | NEW |