| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef NotificationManager_h | 5 #ifndef NotificationManager_h |
| 6 #define NotificationManager_h | 6 #define NotificationManager_h |
| 7 | 7 |
| 8 #include "core/dom/ExecutionContext.h" | 8 #include "core/dom/ExecutionContext.h" |
| 9 #include "platform/wtf/Noncopyable.h" |
| 10 #include "platform/wtf/text/WTFString.h" |
| 9 #include "public/platform/modules/notifications/notification_service.mojom-blink
.h" | 11 #include "public/platform/modules/notifications/notification_service.mojom-blink
.h" |
| 10 #include "public/platform/modules/permissions/permission.mojom-blink.h" | 12 #include "public/platform/modules/permissions/permission.mojom-blink.h" |
| 11 #include "wtf/Noncopyable.h" | |
| 12 #include "wtf/text/WTFString.h" | |
| 13 | 13 |
| 14 namespace blink { | 14 namespace blink { |
| 15 | 15 |
| 16 class NotificationPermissionCallback; | 16 class NotificationPermissionCallback; |
| 17 class ScriptPromise; | 17 class ScriptPromise; |
| 18 class ScriptPromiseResolver; | 18 class ScriptPromiseResolver; |
| 19 class ScriptState; | 19 class ScriptState; |
| 20 | 20 |
| 21 // The notification manager, unique to the execution context, is responsible for | 21 // The notification manager, unique to the execution context, is responsible for |
| 22 // connecting and communicating with the Mojo notification service. | 22 // connecting and communicating with the Mojo notification service. |
| (...skipping 29 matching lines...) Expand all Loading... |
| 52 mojom::blink::PermissionStatus); | 52 mojom::blink::PermissionStatus); |
| 53 void OnPermissionServiceConnectionError(); | 53 void OnPermissionServiceConnectionError(); |
| 54 | 54 |
| 55 mojom::blink::NotificationServicePtr notification_service_; | 55 mojom::blink::NotificationServicePtr notification_service_; |
| 56 mojom::blink::PermissionServicePtr permission_service_; | 56 mojom::blink::PermissionServicePtr permission_service_; |
| 57 }; | 57 }; |
| 58 | 58 |
| 59 } // namespace blink | 59 } // namespace blink |
| 60 | 60 |
| 61 #endif // NotificationManager_h | 61 #endif // NotificationManager_h |
| OLD | NEW |