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

Unified Diff: chrome/browser/apps/drive/drive_app_provider.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/drive/drive_app_provider.cc
diff --git a/chrome/browser/apps/drive/drive_app_provider.cc b/chrome/browser/apps/drive/drive_app_provider.cc
index 46ac570e617a7850927b458b10ae8ae42bc4d5f9..dac04b5c2a2666748086cfc51254d727b2c1ec74 100644
--- a/chrome/browser/apps/drive/drive_app_provider.cc
+++ b/chrome/browser/apps/drive/drive_app_provider.cc
@@ -83,8 +83,10 @@ void DriveAppProvider::UpdateMappingAndExtensionSystem(
if (existing_app && is_existing_app_generated) {
extensions::ExtensionSystem::Get(profile_)
->extension_service()
- ->UninstallExtension(
- existing_chrome_app_id, extensions::UNINSTALL_REASON_SYNC, NULL);
+ ->UninstallExtension(existing_chrome_app_id,
+ extensions::UNINSTALL_REASON_SYNC,
+ base::Bind(&base::DoNothing),
+ NULL);
}
}
@@ -193,8 +195,10 @@ void DriveAppProvider::ProcessRemovedDriveApp(const std::string& drive_app_id) {
extensions::ExtensionSystem::Get(profile_)
->extension_service()
- ->UninstallExtension(
- chrome_app_id, extensions::UNINSTALL_REASON_SYNC, NULL);
+ ->UninstallExtension(chrome_app_id,
+ extensions::UNINSTALL_REASON_SYNC,
+ base::Bind(&base::DoNothing),
+ NULL);
}
void DriveAppProvider::OnDriveAppRegistryUpdated() {
« no previous file with comments | « android_webview/native/aw_quota_manager_bridge_impl.cc ('k') | chrome/browser/apps/ephemeral_app_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698