| Index: chrome/browser/resources/options/advanced_options.js
|
| diff --git a/chrome/browser/resources/options/advanced_options.js b/chrome/browser/resources/options/advanced_options.js
|
| index 8133d7b0c8268d8fd79d273935e0754005fedd3a..28bd85a1a6f54f3da1cbd703e21414fa3e5f00e2 100644
|
| --- a/chrome/browser/resources/options/advanced_options.js
|
| +++ b/chrome/browser/resources/options/advanced_options.js
|
| @@ -262,6 +262,17 @@ var OptionsPage = options.OptionsPage;
|
| }
|
| };
|
|
|
| + AdvancedOptions.SetRemotingStatus = function(enabled, status) {
|
| + if (enabled) {
|
| + $('remotingSetupButton').style.display = 'none';
|
| + $('remotingStopButton').style.display = 'inline';
|
| + } else {
|
| + $('remotingSetupButton').style.display = 'inline';
|
| + $('remotingStopButton').style.display = 'none';
|
| + }
|
| + $('remotingStatus').textContent = status;
|
| + };
|
| +
|
| AdvancedOptions.RemoveRemotingSection = function() {
|
| var proxySectionElm = $('remoting-section');
|
| proxySectionElm.parentNode.removeChild(proxySectionElm);
|
|
|