Chromium Code Reviews| Index: chrome/browser/resources/settings/internet_page/network_proxy.js |
| diff --git a/chrome/browser/resources/settings/internet_page/network_proxy.js b/chrome/browser/resources/settings/internet_page/network_proxy.js |
| index 974de27c38904e66d76531285ca14bfb7952a91b..54d516c20250084e6515018e1ecd906d45d2fedc 100644 |
| --- a/chrome/browser/resources/settings/internet_page/network_proxy.js |
| +++ b/chrome/browser/resources/settings/internet_page/network_proxy.js |
| @@ -346,7 +346,7 @@ Polymer({ |
| * @return {boolean} |
| * @private |
| */ |
| - getShowPrefPolicyIndicator_: function() { |
| + getShowExtensionPolicyIndicator_: function() { |
|
Dan Beam
2016/11/29 05:25:34
why does this use 2 verbs? "get" AND "show"? why
stevenjb
2016/11/30 22:58:19
-> shouldShowExtensionIndicator
|
| let property = this.getProxySettingsTypeProperty_(); |
| return !!property && this.isExtensionControlled(property); |
| }, |
| @@ -389,7 +389,7 @@ Polymer({ |
| */ |
| isProxyEditable_: function() { |
| let property = this.getProxySettingsTypeProperty_(); |
| - return !!property && this.isEditable_(property); |
| + return !property || this.isEditable_(property); |
|
Dan Beam
2016/11/29 05:25:34
can you test this logic?
stevenjb
2016/11/30 22:58:19
We *should* test all of 'internet'. We currently t
Dan Beam
2016/12/02 00:23:50
now's a great time to start.
Dan Beam
2016/12/02 00:59:49
let me expound on this: the more code you write, t
stevenjb
2016/12/02 17:36:58
I am not unaware of any of this. The question has
|
| }, |
| /** |