| Index: chrome/browser/resources/settings/about_page/about_page_browser_proxy.js
|
| diff --git a/chrome/browser/resources/settings/about_page/about_page_browser_proxy.js b/chrome/browser/resources/settings/about_page/about_page_browser_proxy.js
|
| index b1ee8af3c2f5170a61a000f4cb3a944a99fe8943..4de02486958e94f79d9a4b569f6309501728af9e 100644
|
| --- a/chrome/browser/resources/settings/about_page/about_page_browser_proxy.js
|
| +++ b/chrome/browser/resources/settings/about_page/about_page_browser_proxy.js
|
| @@ -60,6 +60,18 @@ var UpdateStatus = {
|
| DISABLED_BY_ADMIN: 'disabled_by_admin',
|
| };
|
|
|
| +<if expr="_google_chrome and is_macosx">
|
| +/**
|
| + * @typedef {{
|
| + * hidden: boolean,
|
| + * disabled: boolean,
|
| + * actionable: boolean,
|
| + * text: (string|undefined)
|
| + * }}
|
| + */
|
| +var PromoteUpdaterStatus;
|
| +</if>
|
| +
|
| /**
|
| * @typedef {{
|
| * status: !UpdateStatus,
|
| @@ -148,6 +160,13 @@ cr.define('settings', function() {
|
| /** @return {!Promise<?RegulatoryInfo>} */
|
| getRegulatoryInfo: function() {},
|
| </if>
|
| +
|
| +<if expr="_google_chrome and is_macosx">
|
| + /**
|
| + * Triggers setting up auto-updates for all users.
|
| + */
|
| + promoteUpdater: function() {},
|
| +</if>
|
| };
|
|
|
| /**
|
| @@ -168,6 +187,13 @@ cr.define('settings', function() {
|
| chrome.send('refreshUpdateStatus');
|
| },
|
|
|
| +<if expr="_google_chrome and is_macosx">
|
| + /** @override */
|
| + promoteUpdater: function() {
|
| + chrome.send('promoteUpdater');
|
| + },
|
| +</if>
|
| +
|
| /** @override */
|
| openHelpPage: function() {
|
| chrome.send('openHelpPage');
|
|
|