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 23fe5b817e771fdc57a015e78ada06f944eab41b..7e0f7e30af5729046b1712f5dbeee4ce964004b7 100644 |
--- a/third_party/WebKit/Source/modules/notifications/Notification.h |
+++ b/third_party/WebKit/Source/modules/notifications/Notification.h |
@@ -66,8 +66,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; |