| Index: chrome/browser/resources/settings/clear_browsing_data_dialog/clear_browsing_data_browser_proxy.js
|
| diff --git a/chrome/browser/resources/settings/clear_browsing_data_dialog/clear_browsing_data_browser_proxy.js b/chrome/browser/resources/settings/clear_browsing_data_dialog/clear_browsing_data_browser_proxy.js
|
| index b979d86434684b147f8ee44b860f7087a813358a..0a949756bde1b0e1ed4d07ba42adbc98878238b6 100644
|
| --- a/chrome/browser/resources/settings/clear_browsing_data_dialog/clear_browsing_data_browser_proxy.js
|
| +++ b/chrome/browser/resources/settings/clear_browsing_data_dialog/clear_browsing_data_browser_proxy.js
|
| @@ -22,6 +22,11 @@ cr.define('settings', function() {
|
| * @return {!Promise<void>} Signal when the setup is complete.
|
| */
|
| initialize: function() {},
|
| +
|
| + /**
|
| + * @return {boolean} Whether browsing history rows should be shown.
|
| + */
|
| + shouldShowBrowsingHistoryRows: function() {},
|
| };
|
|
|
| /**
|
| @@ -41,6 +46,11 @@ cr.define('settings', function() {
|
| initialize: function() {
|
| return cr.sendWithPromise('initializeClearBrowsingData');
|
| },
|
| +
|
| + /** @override */
|
| + shouldShowBrowsingHistoryRows: function() {
|
| + return loadTimeData.getBoolean('isSupervised');
|
| + },
|
| };
|
|
|
| return {
|
|
|