| Index: chrome/browser/extensions/extension_service.cc
|
| diff --git a/chrome/browser/extensions/extension_service.cc b/chrome/browser/extensions/extension_service.cc
|
| index 730a126118407d539d177b038967f192331c4ee9..493498cf1e58e8b66d19dca7849aff2a28d08825 100644
|
| --- a/chrome/browser/extensions/extension_service.cc
|
| +++ b/chrome/browser/extensions/extension_service.cc
|
| @@ -337,7 +337,6 @@ ExtensionService::ExtensionService(Profile* profile,
|
| update_once_all_providers_are_ready_(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));
|
|
|
| @@ -806,12 +805,6 @@ bool ExtensionService::UninstallExtension(
|
| 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;
|
| }
|
|
|
| @@ -906,12 +899,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(
|
|
|