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

Unified Diff: chrome/browser/ui/cocoa/notifications/notification_service_delegate.mm

Issue 2709213005: [Mac] Add XPC alerts to GetDisplayedNotifications (Closed)
Patch Set: review Created 3 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
« no previous file with comments | « chrome/browser/ui/cocoa/notifications/notification_delivery.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/notifications/notification_service_delegate.mm
diff --git a/chrome/browser/ui/cocoa/notifications/notification_service_delegate.mm b/chrome/browser/ui/cocoa/notifications/notification_service_delegate.mm
index 2a7d182a949000b5ac1ab1bc87e99597ef39a7ae..b5e9cc9c8d77ea51805e5c474f4d23abddd34128 100644
--- a/chrome/browser/ui/cocoa/notifications/notification_service_delegate.mm
+++ b/chrome/browser/ui/cocoa/notifications/notification_service_delegate.mm
@@ -38,9 +38,10 @@
newConnection.exportedInterface =
[NSXPCInterface interfaceWithProtocol:@protocol(NotificationDelivery)];
[newConnection.exportedInterface
- setClasses:[NSSet setWithObjects:[NSData class], [NSDictionary class],
- [NSImage class], [NSNumber class],
- [NSString class], nil]
+ setClasses:[NSSet setWithObjects:[NSArray class], [NSData class],
+ [NSDictionary class], [NSImage class],
+ [NSNumber class], [NSString class],
+ nil]
forSelector:@selector(deliverNotification:)
argumentIndex:0
ofReply:NO];
« no previous file with comments | « chrome/browser/ui/cocoa/notifications/notification_delivery.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698