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

Unified Diff: content/browser/background_sync/background_sync_service_impl_unittest.cc

Issue 1283703003: Change ownership of BackgroundSyncServiceImpl to BackgroundSyncContextImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Small fixes Created 5 years, 4 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: content/browser/background_sync/background_sync_service_impl_unittest.cc
diff --git a/content/browser/background_sync/background_sync_service_impl_unittest.cc b/content/browser/background_sync/background_sync_service_impl_unittest.cc
index 39a81663511129f9a1d84e4119dd2d80ce61e17d..7d6c0dce07aab7a51f0b7f8754a56efb3a84c959 100644
--- a/content/browser/background_sync/background_sync_service_impl_unittest.cc
+++ b/content/browser/background_sync/background_sync_service_impl_unittest.cc
@@ -106,6 +106,8 @@ class BackgroundSyncServiceImplTest : public testing::Test {
// This must be explicitly destroyed here to ensure that destruction
// of both the BackgroundSyncContext and the BackgroundSyncManager occurs on
// the correct thread.
+ background_sync_context_->Shutdown();
+ base::RunLoop().RunUntilIdle();
background_sync_context_ = nullptr;
}

Powered by Google App Engine
This is Rietveld 408576698