| Index: chrome/browser/resources/settings/site_settings/site_data_details_dialog.js
|
| diff --git a/chrome/browser/resources/settings/site_settings/site_data_details_dialog.js b/chrome/browser/resources/settings/site_settings/site_data_details_dialog.js
|
| index 577664adbf2c88e965880cb6af3ddf8f54ddeb88..1bf1018d81c7ef49e0b2cf70fa0678a4b431faa4 100644
|
| --- a/chrome/browser/resources/settings/site_settings/site_data_details_dialog.js
|
| +++ b/chrome/browser/resources/settings/site_settings/site_data_details_dialog.js
|
| @@ -157,6 +157,16 @@ Polymer({
|
| }
|
| },
|
|
|
| + getEntryDescription: function(item) {
|
| + // Frequently there are multiple cookies per site. To avoid showing a list
|
| + // of '1 cookie', '1 cookie', ... etc, it is better to show the title of the
|
| + // cookie to differentiate them.
|
| + if (item.data.type == 'cookie')
|
| + return item.title;
|
| +
|
| + return getCookieDataCategoryText(item.data.type, item.data.totalUsage);
|
| + },
|
| +
|
| /**
|
| * A handler for when the user opts to remove a single cookie.
|
| * @private
|
|
|