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

Unified Diff: chrome/test/data/extensions/subscribe_page_action/popup.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, 9 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/test/data/extensions/subscribe_page_action/manifest.json ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/extensions/subscribe_page_action/popup.js
===================================================================
--- chrome/test/data/extensions/subscribe_page_action/popup.js (revision 190361)
+++ chrome/test/data/extensions/subscribe_page_action/popup.js (working copy)
@@ -11,7 +11,7 @@
function main() {
chrome.tabs.getSelected(null, function(tab) {
- var feeds = chrome.extension.getBackgroundPage().feedData[tab.id];
+ var feeds = JSON.parse(localStorage.getItem(tab.id));
not at google - send to devlin 2013/03/28 00:35:05 I don't fully understand what this is for, but we'
if (feeds.length == 1) {
// Only one feed, no need for a bubble; go straight to the subscribe page.
preview(feeds[0].href);
« no previous file with comments | « chrome/test/data/extensions/subscribe_page_action/manifest.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698