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

Unified Diff: chrome/test/data/extensions/subscribe_page_action/feed_finder.js

Issue 12843037: Convert the RSS extension to event pages to avoid a dedicated background process. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 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: chrome/test/data/extensions/subscribe_page_action/feed_finder.js
===================================================================
--- chrome/test/data/extensions/subscribe_page_action/feed_finder.js (revision 192805)
+++ chrome/test/data/extensions/subscribe_page_action/feed_finder.js (working copy)
@@ -33,7 +33,7 @@
if (count > 0) {
// Notify the extension needs to show the RSS page action icon.
- chrome.extension.sendRequest({msg: "feedIcon", feeds: feeds});
+ chrome.extension.sendMessage({msg: "feedIcon", feeds: feeds});
}
}
@@ -57,7 +57,7 @@
if (soleTagInBody == "RSS" || soleTagInBody == "FEED" ||
soleTagInBody == "RDF") {
debugMsg(logLevels.info, "Found feed: Tag is: " + soleTagInBody);
- chrome.extension.sendRequest({msg: "feedDocument", href: location.href});
+ chrome.extension.sendMessage({msg: "feedDocument", href: location.href});
return true;
}
@@ -79,7 +79,7 @@
// |doc| now contains the parsed document within the PRE tag.
if (containsFeed(doc)) {
// Let the extension know that we should show the subscribe page.
- chrome.extension.sendRequest({msg: "feedDocument", href: location.href});
+ chrome.extension.sendMessage({msg: "feedDocument", href: location.href});
return true;
}
}

Powered by Google App Engine
This is Rietveld 408576698