| Index: chrome/browser/resources/settings/about_page/detailed_build_info.js
|
| diff --git a/chrome/browser/resources/settings/about_page/detailed_build_info.js b/chrome/browser/resources/settings/about_page/detailed_build_info.js
|
| index cb9f109aada915c0e220425cbcd91cee1595974e..613d650660f589f129c60263c1b6bf4b0165f679 100644
|
| --- a/chrome/browser/resources/settings/about_page/detailed_build_info.js
|
| +++ b/chrome/browser/resources/settings/about_page/detailed_build_info.js
|
| @@ -7,22 +7,6 @@
|
| * information for ChromeOS.
|
| */
|
|
|
| -(function() {
|
| -
|
| -/**
|
| - * @param {!BrowserChannel} channel
|
| - * @return {string}
|
| - */
|
| -function browserChannelToI18nId(channel) {
|
| - switch (channel) {
|
| - case BrowserChannel.BETA: return 'aboutChannelBeta';
|
| - case BrowserChannel.DEV: return 'aboutChannelDev';
|
| - case BrowserChannel.STABLE: return 'aboutChannelStable';
|
| - }
|
| -
|
| - assertNotReached();
|
| -}
|
| -
|
| Polymer({
|
| is: 'settings-detailed-build-info',
|
|
|
| @@ -47,7 +31,7 @@ Polymer({
|
| browserProxy.getCurrentChannel().then(function(channel) {
|
| this.currentlyOnChannelText_ = this.i18n(
|
| 'aboutCurrentlyOnChannel',
|
| - this.i18n(browserChannelToI18nId(channel)));
|
| + this.i18n(settings.browserChannelToI18nId(channel)));
|
| }.bind(this));
|
| },
|
|
|
| @@ -60,5 +44,3 @@ Polymer({
|
| return version.length > 0;
|
| },
|
| });
|
| -
|
| -})();
|
|
|