Index: third_party/WebKit/Source/modules/notifications/Notification.h |
diff --git a/third_party/WebKit/Source/modules/notifications/Notification.h b/third_party/WebKit/Source/modules/notifications/Notification.h |
index 3ecfcf118f2a1472aeb2b63772df3b7dba4b580d..34ac6f20dc8067754b867eb4849fb48687867b67 100644 |
--- a/third_party/WebKit/Source/modules/notifications/Notification.h |
+++ b/third_party/WebKit/Source/modules/notifications/Notification.h |
@@ -65,8 +65,9 @@ public: |
// the notification to be displayed to the user when the developer-provided data is valid. |
static Notification* create(ExecutionContext*, const String& title, const NotificationOptions&, ExceptionState&); |
- // Used for embedder-created Notification objects. Will initialize the Notification's state as showing. |
- static Notification* create(ExecutionContext*, int64_t persistentId, const WebNotificationData&); |
+ // Used for embedder-created Notification objects. If |showing| is true, will initialize the |
+ // Notification's state as showing, or as closed otherwise. |
+ static Notification* create(ExecutionContext*, int64_t persistentId, const WebNotificationData&, bool showing); |
~Notification() override; |