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

Unified Diff: lib/prefs.js

Issue 11157034: Update info module and make updater use the new downloader module (Closed)
Patch Set: Created July 23, 2013, 10:03 a.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 | « lib/info.js ('k') | lib/updater.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/prefs.js
===================================================================
--- a/lib/prefs.js
+++ b/lib/prefs.js
@@ -28,19 +28,22 @@ let defaults = {
data_directory: "",
savestats: false,
privateBrowsing: false,
subscriptions_fallbackerrors: 5,
subscriptions_fallbackurl: "https://adblockplus.org/getSubscription?version=%VERSION%&url=%SUBSCRIPTION%&downloadURL=%URL%&error=%ERROR%&channelStatus=%CHANNELSTATUS%&responseStatus=%RESPONSESTATUS%",
subscriptions_autoupdate: true,
subscriptions_exceptionsurl: "https://easylist-downloads.adblockplus.org/exceptionrules.txt",
documentation_link: "https://adblockplus.org/redirect?link=%LINK%&lang=%LANG%",
- update_url_release: "https://update.adblockplus.org/%NAME%/update.json?id=%ID%&version=%VERSION%&app=%APP%&type=%TYPE%",
- update_url_devbuild: "https://adblockplus.org/devbuilds/%NAME%/update.json?id=%ID%&version=%VERSION%&app=%APP%&type=%TYPE%",
- next_update_check: 0
+ update_url_release: "https://update.adblockplus.org/%NAME%/update.json?type=%TYPE%",
+ update_url_devbuild: "https://adblockplus.org/devbuilds/%NAME%/update.json?type=%TYPE%",
+ update_last_check: 0,
+ update_last_error: 0,
+ update_soft_expiration: 0,
+ update_hard_expiration: 0
};
let values = Object.create(defaults);
let path = _fileSystem.resolve("prefs.json");
let listeners = [];
let isDirty = false;
let isSaving = false;
« no previous file with comments | « lib/info.js ('k') | lib/updater.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld