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

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

Issue 1614063002: [BackgroundSync Cleanup] Remove periodic sync code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@purge_power
Patch Set: Address comments from PS3 Created 4 years, 11 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 21f312f123a081dd1f68aef91c4822e49d81651e..c88eb173dad6bfd09939d1230adb1e044bfa1e39 100644
--- a/content/browser/background_sync/background_sync_service_impl_unittest.cc
+++ b/content/browser/background_sync/background_sync_service_impl_unittest.cc
@@ -211,15 +211,13 @@ class BackgroundSyncServiceImplTest : public testing::Test {
void GetRegistrationOneShot(
const mojo::String& tag,
const BackgroundSyncService::RegisterCallback& callback) {
- service_impl_->GetRegistration(BackgroundSyncPeriodicity::ONE_SHOT, tag,
- sw_registration_id_, callback);
+ service_impl_->GetRegistration(tag, sw_registration_id_, callback);
base::RunLoop().RunUntilIdle();
}
void GetRegistrationsOneShot(
const BackgroundSyncService::GetRegistrationsCallback& callback) {
- service_impl_->GetRegistrations(BackgroundSyncPeriodicity::ONE_SHOT,
- sw_registration_id_, callback);
+ service_impl_->GetRegistrations(sw_registration_id_, callback);
base::RunLoop().RunUntilIdle();
}

Powered by Google App Engine
This is Rietveld 408576698