Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(158)

Unified Diff: chrome/browser/extensions/extension_error_controller_unittest.cc

Issue 2147923002: [Extensions] Fixed removing from blacklist. (Closed) Base URL: ssh://bitbucket.browser.yandex-team.ru/chromium/src.git@master
Patch Set: Review issues are fixed. Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/extension_error_controller_unittest.cc
diff --git a/chrome/browser/extensions/extension_error_controller_unittest.cc b/chrome/browser/extensions/extension_error_controller_unittest.cc
index 3007a43813082845e491a86d0cea5d871e356fa2..44a3e95d27623167d82f4cb7710b7b7103c5fe24 100644
--- a/chrome/browser/extensions/extension_error_controller_unittest.cc
+++ b/chrome/browser/extensions/extension_error_controller_unittest.cc
@@ -130,7 +130,8 @@ void ExtensionErrorControllerUnitTest::SetUp() {
testing::AssertionResult
ExtensionErrorControllerUnitTest::AddBlacklistedExtension(
const Extension* extension) {
- GetPrefs()->SetExtensionBlacklisted(extension->id(), true);
+ GetPrefs()->SetExtensionBlacklistState(extension->id(),
+ extensions::BLACKLISTED_MALWARE);
Devlin 2016/07/19 16:02:44 ditto re extensions:: prefix
atuchin 2016/07/20 06:02:45 Done.
service_->AddExtension(extension);
// Make sure the extension is added to the blacklisted set.

Powered by Google App Engine
This is Rietveld 408576698