| Index: chrome/browser/extensions/extension_service.cc
|
| diff --git a/chrome/browser/extensions/extension_service.cc b/chrome/browser/extensions/extension_service.cc
|
| index 9442e65cc7ef42bd1dc9aaeb1dd80b9d90748062..3d3fa936691cf7ac429cdc2a4a1daa0f359f9472 100644
|
| --- a/chrome/browser/extensions/extension_service.cc
|
| +++ b/chrome/browser/extensions/extension_service.cc
|
| @@ -367,7 +367,6 @@ ExtensionService::ExtensionService(Profile* profile,
|
| browser_terminating_(false),
|
| app_sync_bundle_(ALLOW_THIS_IN_INITIALIZER_LIST(this)),
|
| extension_sync_bundle_(ALLOW_THIS_IN_INITIALIZER_LIST(this)),
|
| - extension_warnings_(profile),
|
| app_shortcut_manager_(profile) {
|
| CHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
|
|
|
| @@ -869,12 +868,6 @@ bool ExtensionService::UninstallExtension(
|
| // Track the uninstallation.
|
| UMA_HISTOGRAM_ENUMERATION("Extensions.ExtensionUninstalled", 1, 2);
|
|
|
| - // Uninstalling one extension might have solved the problems of others.
|
| - // Therefore, we clear warnings of this type for all extensions.
|
| - std::set<ExtensionWarningSet::WarningType> warnings;
|
| - extension_warnings_.GetWarningsAffectingExtension(extension_id, &warnings);
|
| - extension_warnings_.ClearWarnings(warnings);
|
| -
|
| return true;
|
| }
|
|
|
| @@ -973,12 +966,6 @@ void ExtensionService::DisableExtension(
|
| }
|
|
|
| SyncExtensionChangeIfNeeded(*extension);
|
| -
|
| - // Deactivating one extension might have solved the problems of others.
|
| - // Therefore, we clear warnings of this type for all extensions.
|
| - std::set<ExtensionWarningSet::WarningType> warnings;
|
| - extension_warnings_.GetWarningsAffectingExtension(extension_id, &warnings);
|
| - extension_warnings_.ClearWarnings(warnings);
|
| }
|
|
|
| void ExtensionService::GrantPermissionsAndEnableExtension(
|
|
|