Adding instrumentation to locate the source of jankiness
[chromium-blink-merge.git] / chrome / browser / notifications / notification_ui_manager_android.cc
blob400ffeedb62be7bc943b83f2e784b57c31dddd38
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& delegate_id,
33 ProfileID profile_id) const {
34 return 0;
37 bool NotificationUIManagerAndroid::CancelById(const std::string& delegate_id,
38 ProfileID profile_id) {
39 return false;
42 std::set<std::string>
43 NotificationUIManagerAndroid::GetAllIdsByProfileAndSourceOrigin(
44 Profile* profile,
45 const GURL& source) {
46 return std::set<std::string>();
49 bool NotificationUIManagerAndroid::CancelAllBySourceOrigin(
50 const GURL& source_origin) {
51 return false;
54 bool NotificationUIManagerAndroid::CancelAllByProfile(Profile* profile) {
55 return false;
58 void NotificationUIManagerAndroid::CancelAll() {