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

Unified Diff: chrome/browser/policy/policy_browsertest.cc

Issue 284103002: Replace "external_install" boolean parameter with explicit enumeration in ExtensionUninstall method. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address code review feedback. Created 6 years, 6 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/policy/policy_browsertest.cc
diff --git a/chrome/browser/policy/policy_browsertest.cc b/chrome/browser/policy/policy_browsertest.cc
index e83e981f76ec2610cbf3af28510fea87ca16431e..273f1259e45670b82672b9cc4c7ea4cd0ebed08b 100644
--- a/chrome/browser/policy/policy_browsertest.cc
+++ b/chrome/browser/policy/policy_browsertest.cc
@@ -705,7 +705,8 @@ class PolicyTest : public InProcessBrowserTest {
expect_success ? chrome::NOTIFICATION_EXTENSION_UNINSTALLED_DEPRECATED
: chrome::NOTIFICATION_EXTENSION_UNINSTALL_NOT_ALLOWED,
content::NotificationService::AllSources());
- extension_service()->UninstallExtension(id, false, NULL);
+ extension_service()->UninstallExtension(
+ id, ExtensionService::UNINSTALL_REASON_DEFAULT, NULL);
observer.Wait();
}

Powered by Google App Engine
This is Rietveld 408576698