OLD | NEW |
(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 #ifndef NotificationData_h |
| 6 #define NotificationData_h |
| 7 |
| 8 #include "modules/ModulesExport.h" |
| 9 #include "public/platform/modules/notifications/WebNotificationData.h" |
| 10 #include "wtf/text/WTFString.h" |
| 11 |
| 12 namespace blink { |
| 13 |
| 14 class ExceptionState; |
| 15 class ExecutionContext; |
| 16 class NotificationOptions; |
| 17 |
| 18 // Creates a WebNotificationData object based on the developer-provided notifica
tion data. When the |
| 19 // data is deemed invalid, an exception will be thrown to the passed exception s
tate. |
| 20 MODULES_EXPORT WebNotificationData createWebNotificationData(ExecutionContext*,
const String& title, const NotificationOptions&, ExceptionState&); |
| 21 |
| 22 } // namespace blink |
| 23 |
| 24 #endif // NotificationData_h |
OLD | NEW |