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

Side by Side Diff: chrome/test/data/extensions/subscribe_page_action/doc_start.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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 debugMsg(logLevels.info, "Running script at document_start"); 5 debugMsg(logLevels.info, "Running script at document_start");
6 6
7 // See if the current document is a feed document and if so, let 7 // See if the current document is a feed document and if so, let
8 // the extension know that we should show the subscribe page instead. 8 // the extension know that we should show the subscribe page instead.
9 if (containsFeed(document)) 9 if (containsFeed(document))
10 chrome.extension.sendRequest({msg: "feedDocument", href: location.href}); 10 chrome.extension.sendMessage({msg: "feedDocument", href: location.href});
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698