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

Unified Diff: chrome/browser/apps/ephemeral_app_service.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/apps/ephemeral_app_service.cc
diff --git a/chrome/browser/apps/ephemeral_app_service.cc b/chrome/browser/apps/ephemeral_app_service.cc
index 0fbc007979c111fb2cb324f58864676ce208b571..6bbb8f3ddbdd875fa3b08a925f8260da02eaf60f 100644
--- a/chrome/browser/apps/ephemeral_app_service.cc
+++ b/chrome/browser/apps/ephemeral_app_service.cc
@@ -103,6 +103,7 @@ void EphemeralAppService::ClearCachedApps() {
service->UninstallExtension(
extension_id,
extensions::UNINSTALL_REASON_ORPHANED_EPHEMERAL_EXTENSION,
+ base::Bind(&base::DoNothing),
NULL);
}
}
@@ -238,7 +239,10 @@ void EphemeralAppService::GarbageCollectApps() {
continue;
service->UninstallExtension(
- *id, extensions::UNINSTALL_REASON_ORPHANED_EPHEMERAL_EXTENSION, NULL);
+ *id,
+ extensions::UNINSTALL_REASON_ORPHANED_EPHEMERAL_EXTENSION,
+ base::Bind(&base::DoNothing),
+ NULL);
}
}
}

Powered by Google App Engine
This is Rietveld 408576698