From 4fc435047afa02cf4be96a398c1a06c377901aba Mon Sep 17 00:00:00 2001 From: Einar Egilsson Date: Sun, 28 Aug 2011 23:31:04 +0200 Subject: Prototype of redirecting proxy server --- chrome/code/redirectorprefs.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'chrome/code/redirectorprefs.js') diff --git a/chrome/code/redirectorprefs.js b/chrome/code/redirectorprefs.js index 3920539..40e8737 100644 --- a/chrome/code/redirectorprefs.js +++ b/chrome/code/redirectorprefs.js @@ -14,7 +14,7 @@ RedirectorPrefs.prototype = { _debugEnabled : null, _defaultDir : null, _redirects : null, - + _proxyServerPort : null, _prefBranch : null, _listeners : null, @@ -36,6 +36,9 @@ RedirectorPrefs.prototype = { get debugEnabled() { return this._debugEnabled; }, set debugEnabled(value) { this._prefBranch.setBoolPref('debugEnabled', value); }, + get proxyServerPort() { return this._proxyServerPort; }, + set proxyServerPort(value) { this._prefBranch.setIntPref('proxyServerPort', value); }, + get defaultDir() { return this._defaultDir; }, set defaultDir(value) { this._prefBranch.setCharPref('defaultDir', value); }, -- cgit v1.2.3-70-g09d2