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

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: Created 6 years, 7 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 53bbac941f397bae0abf484ae12d488fcf6e0762..0de12a062651c8e4dd015641227e3a0f04ae1cb1 100644
--- a/chrome/browser/policy/policy_browsertest.cc
+++ b/chrome/browser/policy/policy_browsertest.cc
@@ -712,7 +712,8 @@ class PolicyTest : public InProcessBrowserTest {
expect_success ? chrome::NOTIFICATION_EXTENSION_UNINSTALLED
: chrome::NOTIFICATION_EXTENSION_UNINSTALL_NOT_ALLOWED,
content::NotificationService::AllSources());
- extension_service()->UninstallExtension(id, false, NULL);
+ extension_service()->UninstallExtension(
+ id, ExtensionService::kUninstallReasonDefault, NULL);
observer.Wait();
}

Powered by Google App Engine
This is Rietveld 408576698