Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: webrequest.js

Issue 6182748523855872: Issue 1518 - Got rid of deprecated code using webkitNotifications (Closed)
Patch Set: Created Jan. 8, 2015, 10:31 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« background.js ('K') | « metadata.common ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrequest.js
===================================================================
--- a/webrequest.js
+++ b/webrequest.js
@@ -66,7 +66,7 @@
// check for notifications here
if (platform != "chromium" && type == "sub_frame")
{
- var notificationToShow = Notification.getNextToShow(url);
+ var notificationToShow = NotificationStorage.getNextToShow(url);
if (notificationToShow)
showNotification(notificationToShow);
}
@@ -100,7 +100,7 @@
processKey(header.value, page, frame);
}
- var notificationToShow = Notification.getNextToShow(details.url);
+ var notificationToShow = NotificationStorage.getNextToShow(details.url);
if (notificationToShow)
showNotification(notificationToShow);
}
« background.js ('K') | « metadata.common ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld