summaryrefslogtreecommitdiffstats
path: root/chrome/browser/notifications/notification_ui_manager_android.cc
blob: 400ffeedb62be7bc943b83f2e784b57c31dddd38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/browser/notifications/notification_ui_manager_android.h"

#include "base/logging.h"

// static
NotificationUIManager* NotificationUIManager::Create(PrefService* local_state) {
  return new NotificationUIManagerAndroid();
}

NotificationUIManagerAndroid::NotificationUIManagerAndroid() {
}

NotificationUIManagerAndroid::~NotificationUIManagerAndroid() {
}

void NotificationUIManagerAndroid::Add(const Notification& notification,
                                       Profile* profile) {
  // TODO(peter): Implement the NotificationUIManagerAndroid class.
  NOTIMPLEMENTED();
}

bool NotificationUIManagerAndroid::Update(const Notification& notification,
                                          Profile* profile) {
  return false;
}

const Notification* NotificationUIManagerAndroid::FindById(
    const std::string& delegate_id,
    ProfileID profile_id) const {
  return 0;
}

bool NotificationUIManagerAndroid::CancelById(const std::string& delegate_id,
                                              ProfileID profile_id) {
  return false;
}

std::set<std::string>
NotificationUIManagerAndroid::GetAllIdsByProfileAndSourceOrigin(
    Profile* profile,
    const GURL& source) {
  return std::set<std::string>();
}

bool NotificationUIManagerAndroid::CancelAllBySourceOrigin(
    const GURL& source_origin) {
  return false;
}

bool NotificationUIManagerAndroid::CancelAllByProfile(Profile* profile) {
  return false;
}

void NotificationUIManagerAndroid::CancelAll() {
}