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

Unified Diff: ext/background.js

Issue 29760680: Issue 4580 - Removed ext.storage (Closed)
Patch Set: Created April 24, 2018, 5:18 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 | lib/io.js » ('j') | lib/io.js » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ext/background.js
===================================================================
--- a/ext/background.js
+++ b/ext/background.js
@@ -581,26 +581,6 @@
});
- /* Storage */
-
- ext.storage = {
- get(keys, callback)
- {
- browser.storage.local.get(keys, callback);
- },
- set(key, value, callback)
- {
- let items = {};
- items[key] = value;
- browser.storage.local.set(items, callback);
- },
- remove(key, callback)
- {
- browser.storage.local.remove(key, callback);
- },
- onChanged: browser.storage.onChanged
- };
-
/* Windows */
ext.windows = {
create(createData, callback)
« no previous file with comments | « no previous file | lib/io.js » ('j') | lib/io.js » ('J')

Powered by Google App Engine
This is Rietveld