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

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

Issue 421193002: Fix ExtensionServiceTest.ClearExtensionData flakiness (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: use base::DoNothing for empty callbacks Created 6 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_disabled_ui.cc
diff --git a/chrome/browser/extensions/extension_disabled_ui.cc b/chrome/browser/extensions/extension_disabled_ui.cc
index b2a9a9c8a1228ec40be7127e2bda8db4861b5c92..d9a91ce71a0c3734a3148a8741ba0f2da3761f0f 100644
--- a/chrome/browser/extensions/extension_disabled_ui.cc
+++ b/chrome/browser/extensions/extension_disabled_ui.cc
@@ -367,8 +367,10 @@ bool ExtensionDisabledGlobalError::ShouldCloseOnDeactivate() const {
}
void ExtensionDisabledGlobalError::ExtensionUninstallAccepted() {
- service_->UninstallExtension(
- extension_->id(), extensions::UNINSTALL_REASON_EXTENSION_DISABLED, NULL);
+ service_->UninstallExtension(extension_->id(),
+ extensions::UNINSTALL_REASON_EXTENSION_DISABLED,
+ base::Bind(&base::DoNothing),
+ NULL);
}
void ExtensionDisabledGlobalError::ExtensionUninstallCanceled() {

Powered by Google App Engine
This is Rietveld 408576698