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

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

Issue 2728173003: Transfer the notification icon through XPC as NSData for OSX 10.09 (Closed)
Patch Set: Created 3 years, 10 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: 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 efd078525cf2d3109fc89e4982aebabea1c65bf1..1a648adf821ecf4cdee3d8f73f2523f8a1f13513 100644
--- a/chrome/browser/ui/cocoa/notifications/notification_service_delegate.mm
+++ b/chrome/browser/ui/cocoa/notifications/notification_service_delegate.mm
@@ -38,9 +38,9 @@
newConnection.exportedInterface =
[NSXPCInterface interfaceWithProtocol:@protocol(NotificationDelivery)];
[newConnection.exportedInterface
- setClasses:[NSSet setWithObjects:[NSDictionary class], [NSImage class],
- [NSNumber class], [NSString class],
- nil]
+ setClasses:[NSSet setWithObjects:[NSData class], [NSDictionary class],
+ [NSImage class], [NSNumber class],
+ [NSString class], nil]
forSelector:@selector(deliverNotification:)
argumentIndex:0
ofReply:NO];

Powered by Google App Engine
This is Rietveld 408576698