Update mojo surfaces bindings and mojo/cc/ glue
[chromium-blink-merge.git] / chrome / browser / notifications / notification_ui_manager_android.cc
blob5a0c05852f5fee16463d763adeb77c37cc9d6582
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"
9 // static
10 NotificationUIManager* NotificationUIManager::Create(PrefService* local_state) {
11 return new NotificationUIManagerAndroid();
14 NotificationUIManagerAndroid::NotificationUIManagerAndroid() {
17 NotificationUIManagerAndroid::~NotificationUIManagerAndroid() {
20 void NotificationUIManagerAndroid::Add(const Notification& notification,
21 Profile* profile) {
22 // TODO(peter): Implement the NotificationUIManagerAndroid class.
23 NOTIMPLEMENTED();
26 bool NotificationUIManagerAndroid::Update(const Notification& notification,
27 Profile* profile) {
28 return false;
31 const Notification* NotificationUIManagerAndroid::FindById(
32 const std::string& notification_id) const {
33 return 0;
36 bool NotificationUIManagerAndroid::CancelById(
37 const std::string& notification_id) {
38 return false;
41 std::set<std::string>
42 NotificationUIManagerAndroid::GetAllIdsByProfileAndSourceOrigin(
43 Profile* profile,
44 const GURL& source) {
45 return std::set<std::string>();
48 bool NotificationUIManagerAndroid::CancelAllBySourceOrigin(
49 const GURL& source_origin) {
50 return false;
53 bool NotificationUIManagerAndroid::CancelAllByProfile(Profile* profile) {
54 return false;
57 void NotificationUIManagerAndroid::CancelAll() {