Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(403)

Side by Side Diff: chrome/browser/notifications/notification_ui_manager_android.cc

Issue 247943003: Allow compiling Android with notifications=1, add stubbed UI manager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed review comments Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698