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

Unified Diff: background.js

Issue 5644946291818496: Issue 433 - Made adjustments for $sitekey-related changes to the Matcher API (Closed)
Patch Set: Created Sept. 10, 2014, 3:38 p.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
« no previous file with comments | « no previous file | include.preload.js » ('j') | include.preload.js » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: background.js
===================================================================
--- a/background.js
+++ b/background.js
@@ -32,7 +32,8 @@
{
this.isWhitelisted = isWhitelisted;
this.isFrameWhitelisted = isFrameWhitelisted;
- this.processKeyException = processKeyException;
+ this.processKey = processKey;
+ this.getKey = getKey;
}
var FilterStorage = require("filterStorage").FilterStorage;
var ElemHide = require("elemHide").ElemHide;
@@ -556,8 +557,8 @@
page.sendMessage(msg);
});
break;
- case "add-key-exception":
- processKeyException(msg.token, sender.page, sender.frame);
+ case "add-sitekey":
+ processKey(msg.sitekey, sender.page, sender.frame);
break;
case "forward":
if (sender.page)
« no previous file with comments | « no previous file | include.preload.js » ('j') | include.preload.js » ('J')

Powered by Google App Engine
This is Rietveld