| Index: chrome/browser/resources/settings/about_page/about_page.js
|
| diff --git a/chrome/browser/resources/settings/about_page/about_page.js b/chrome/browser/resources/settings/about_page/about_page.js
|
| index e6223d4429c3f89516542924476dfab099ee7c16..e73128504178068b9ab90af169351b96df3bb80e 100644
|
| --- a/chrome/browser/resources/settings/about_page/about_page.js
|
| +++ b/chrome/browser/resources/settings/about_page/about_page.js
|
| @@ -32,6 +32,9 @@ Polymer({
|
|
|
| /** @private {!BrowserChannel} */
|
| targetChannel_: String,
|
| +
|
| + /** @private {?RegulatoryInfo} */
|
| + regulatoryInfo_: Object,
|
| </if>
|
| },
|
|
|
| @@ -60,6 +63,10 @@ Polymer({
|
|
|
| this.startListening_();
|
| }.bind(this));
|
| +
|
| + this.browserProxy_.getRegulatoryInfo().then(function(info) {
|
| + this.regulatoryInfo_ = info;
|
| + }.bind(this));
|
| </if>
|
| <if expr="not chromeos">
|
| this.startListening_();
|
| @@ -242,6 +249,14 @@ Polymer({
|
| return !this.hasCheckedForUpdates_ ||
|
| this.currentUpdateStatusEvent_.status == UpdateStatus.FAILED;
|
| },
|
| +
|
| + /**
|
| + * @return {boolean}
|
| + * @private
|
| + */
|
| + shouldShowRegulatoryInfo_: function() {
|
| + return this.regulatoryInfo_ !== null;
|
| + },
|
| </if>
|
|
|
| <if expr="_google_chrome">
|
|
|