| Index: chrome/browser/extensions/extension_service_unittest.cc
|
| diff --git a/chrome/browser/extensions/extension_service_unittest.cc b/chrome/browser/extensions/extension_service_unittest.cc
|
| index 0b9b8e4c8ee3d9b47e05d7bd5f60ea7f8501c5b3..e4b3556040c7f69266870589664b43261df61bad 100644
|
| --- a/chrome/browser/extensions/extension_service_unittest.cc
|
| +++ b/chrome/browser/extensions/extension_service_unittest.cc
|
| @@ -84,6 +84,7 @@
|
| #include "extensions/browser/extension_registry.h"
|
| #include "extensions/browser/extension_system.h"
|
| #include "extensions/browser/external_provider_interface.h"
|
| +#include "extensions/browser/install_flag.h"
|
| #include "extensions/browser/management_policy.h"
|
| #include "extensions/browser/pref_names.h"
|
| #include "extensions/browser/test_management_policy.h"
|
| @@ -6800,12 +6801,11 @@ TEST_F(ExtensionServiceTest, InstallBlacklistedExtension) {
|
|
|
| // Installation should be allowed but the extension should never have been
|
| // loaded and it should be blacklisted in prefs.
|
| - service()->OnExtensionInstalled(extension.get(),
|
| - syncer::StringOrdinal(),
|
| - false /* has requirement errors */,
|
| - extensions::BLACKLISTED_MALWARE,
|
| - false /* is ephemeral */,
|
| - false /* wait for idle */);
|
| + service()->OnExtensionInstalled(
|
| + extension.get(),
|
| + syncer::StringOrdinal(),
|
| + (extensions::kInstallFlagIsBlacklistedForMalware |
|
| + extensions::kInstallFlagInstallImmediately));
|
| base::RunLoop().RunUntilIdle();
|
|
|
| // Extension was installed but not loaded.
|
|
|