Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(278)

Unified Diff: third_party/WebKit/Source/modules/notifications/NotificationData.h

Issue 1904163002: Move Web Notifications to use Mojo Base URL: https://chromium.googlesource.com/chromium/src.git@skbitmap-blink
Patch Set: it works \o/ Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/notifications/NotificationData.h
diff --git a/third_party/WebKit/Source/modules/notifications/NotificationData.h b/third_party/WebKit/Source/modules/notifications/NotificationData.h
index 09b3a66baca5a38d613df9318e0e7b0d30f32801..bee6479697b0013a462c5c9fb4036acd41c4048a 100644
--- a/third_party/WebKit/Source/modules/notifications/NotificationData.h
+++ b/third_party/WebKit/Source/modules/notifications/NotificationData.h
@@ -6,7 +6,7 @@
#define NotificationData_h
#include "modules/ModulesExport.h"
-#include "public/platform/modules/notifications/WebNotificationData.h"
+#include "public/platform/modules/notifications/notification.mojom-blink.h"
namespace WTF {
class String;
@@ -18,9 +18,9 @@ class ExceptionState;
class ExecutionContext;
class NotificationOptions;
-// Creates a WebNotificationData object based on the developer-provided notification data. When the
+// Creates a Mojo Notification object based on the developer-provided notification data. When the
// data is deemed invalid, an exception will be thrown to the passed exception state.
-MODULES_EXPORT WebNotificationData createWebNotificationData(ExecutionContext*, const String& title, const NotificationOptions&, ExceptionState&);
+MODULES_EXPORT mojom::blink::NotificationPtr createNotificationData(ExecutionContext*, const String& title, const NotificationOptions&, ExceptionState&);
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698