| 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 59e1633a38d6b257c2b85ba756f17bdf1a64f628..62ea8ac67f3e81560541c12092fed6597aab8235 100644
|
| --- a/chrome/browser/resources/settings/about_page/about_page.js
|
| +++ b/chrome/browser/resources/settings/about_page/about_page.js
|
| @@ -52,6 +52,9 @@ Polymer({
|
| /** @private {?settings.AboutPageBrowserProxy} */
|
| browserProxy_: null,
|
|
|
| + /** @private {?settings.LifetimeBrowserProxy} */
|
| + lifetimeBrowserProxy_: null,
|
| +
|
| /**
|
| * @type {string} Selector to get the sections.
|
| * TODO(michaelpg): replace duplicate docs with @override once b/24294625
|
| @@ -64,6 +67,9 @@ Polymer({
|
| this.browserProxy_ = settings.AboutPageBrowserProxyImpl.getInstance();
|
| this.browserProxy_.pageReady();
|
|
|
| + this.lifetimeBrowserProxy_ =
|
| + settings.LifetimeBrowserProxyImpl.getInstance();
|
| +
|
| <if expr="chromeos">
|
| this.addEventListener('target-channel-changed', function(e) {
|
| this.targetChannel_ = e.detail;
|
| @@ -117,7 +123,7 @@ Polymer({
|
|
|
| /** @private */
|
| onRelaunchTap_: function() {
|
| - this.browserProxy_.relaunchNow();
|
| + this.lifetimeBrowserProxy_.relaunch();
|
| },
|
|
|
| /**
|
| @@ -253,7 +259,7 @@ Polymer({
|
|
|
| /** @private */
|
| onRelaunchAndPowerwashTap_: function() {
|
| - // TODO(dpapad): Implement this.
|
| + this.lifetimeBrowserProxy_.factoryReset();
|
| },
|
|
|
| /**
|
|
|