| Index: chrome/browser/resources/settings/site_settings/site_settings_behavior.js
|
| diff --git a/chrome/browser/resources/settings/site_settings/site_settings_behavior.js b/chrome/browser/resources/settings/site_settings/site_settings_behavior.js
|
| index 737d0e4463a8a0971228acc2ad5f9f6464c53d61..936596566dad43bd42fa890c0abd2a44335200dc 100644
|
| --- a/chrome/browser/resources/settings/site_settings/site_settings_behavior.js
|
| +++ b/chrome/browser/resources/settings/site_settings/site_settings_behavior.js
|
| @@ -61,25 +61,6 @@ var SiteSettingsBehaviorImpl = {
|
| },
|
|
|
| /**
|
| - * Adds the wildcard prefix to a pattern string (if missing).
|
| - * @param {string} pattern The pattern to add the wildcard to.
|
| - * @return {string} The resulting pattern.
|
| - * @private
|
| - */
|
| - addPatternWildcard: function(pattern) {
|
| - if (pattern.indexOf('[*.]') > -1)
|
| - return pattern;
|
| - if (pattern.startsWith('http://'))
|
| - return pattern.replace('http://', 'http://[*.]');
|
| - else if (pattern.startsWith('https://'))
|
| - return pattern.replace('https://', 'https://[*.]');
|
| - else if (pattern.startsWith('chrome-extension://'))
|
| - return pattern; // No need for a wildcard for this.
|
| - else
|
| - return '[*.]' + pattern;
|
| - },
|
| -
|
| - /**
|
| * Removes the wildcard prefix from a pattern string.
|
| * @param {string} pattern The pattern to remove the wildcard from.
|
| * @return {string} The resulting pattern.
|
|
|