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.
5 #include "components/html_viewer/web_notification_manager_impl.h"
7 #include "base/logging.h"
9 namespace html_viewer
{
11 WebNotificationManagerImpl::WebNotificationManagerImpl() {}
13 WebNotificationManagerImpl::~WebNotificationManagerImpl() {}
15 void WebNotificationManagerImpl::show(const blink::WebSerializedOrigin
&,
16 const blink::WebNotificationData
&,
17 blink::WebNotificationDelegate
*) {
21 void WebNotificationManagerImpl::showPersistent(
22 const blink::WebSerializedOrigin
&,
23 const blink::WebNotificationData
&,
24 blink::WebServiceWorkerRegistration
*,
25 blink::WebNotificationShowCallbacks
*) {
29 void WebNotificationManagerImpl::getNotifications(
30 const blink::WebString
& filterTag
,
31 blink::WebServiceWorkerRegistration
*,
32 blink::WebNotificationGetCallbacks
*) {
36 void WebNotificationManagerImpl::close(blink::WebNotificationDelegate
*) {
40 void WebNotificationManagerImpl::closePersistent(
41 const blink::WebSerializedOrigin
&,
42 int64_t persistentNotificationId
) {
46 void WebNotificationManagerImpl::closePersistent(
47 const blink::WebSerializedOrigin
&,
48 const blink::WebString
& persistentNotificationId
) {
52 void WebNotificationManagerImpl::notifyDelegateDestroyed(
53 blink::WebNotificationDelegate
*) {
57 blink::WebNotificationPermission
WebNotificationManagerImpl::checkPermission(
58 const blink::WebSerializedOrigin
&) {
60 return blink::WebNotificationPermission();
63 } // namespace html_viewer