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

Side by Side Diff: mojo/services/html_viewer/webnotificationmanager_impl.cc

Issue 1093433002: html_viewer: Add a mock WebNotificationManager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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
OLDNEW
(Empty)
1 // Copyright 2015 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 "mojo/services/html_viewer/webnotificationmanager_impl.h"
6
7 #include "base/logging.h"
8
9 namespace html_viewer {
10
11 WebNotificationManagerImpl::~WebNotificationManagerImpl() {}
12
13 void WebNotificationManagerImpl::show(const blink::WebSerializedOrigin&,
14 const blink::WebNotificationData&,
15 blink::WebNotificationDelegate*) {
16 NOTIMPLEMENTED();
17 }
18
19 void WebNotificationManagerImpl::showPersistent(
20 const blink::WebSerializedOrigin&,
21 const blink::WebNotificationData&,
22 blink::WebServiceWorkerRegistration*,
23 blink::WebNotificationShowCallbacks*) {
24 NOTIMPLEMENTED();
25 }
26
27 void WebNotificationManagerImpl::getNotifications(
28 const blink::WebString& filterTag,
29 blink::WebServiceWorkerRegistration*,
30 blink::WebNotificationGetCallbacks*) {
31 NOTIMPLEMENTED();
32 }
33
34 void WebNotificationManagerImpl::close(blink::WebNotificationDelegate*) {
35 NOTIMPLEMENTED();
36 }
37
38 void WebNotificationManagerImpl::closePersistent(
39 const blink::WebSerializedOrigin&,
40 int64_t persistentNotificationId) {
41 NOTIMPLEMENTED();
42 }
43
44 void WebNotificationManagerImpl::closePersistent(
45 const blink::WebSerializedOrigin&,
46 const blink::WebString& persistentNotificationId) {
47 NOTIMPLEMENTED();
48 }
49
50 void WebNotificationManagerImpl::notifyDelegateDestroyed(
51 blink::WebNotificationDelegate*) {
52 NOTIMPLEMENTED();
53 }
54
55 blink::WebNotificationPermission WebNotificationManagerImpl::checkPermission(
56 const blink::WebSerializedOrigin&) {
57 NOTIMPLEMENTED();
58 return blink::WebNotificationPermission();
Elliot Glaysher 2015/04/15 23:10:01 This is the function that gets called fairly consi
59 }
60
61 } // namespace html_viewer
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698