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

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

Issue 1230213004: [Background Sync] Sent sync registration details to worker (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bgsync-event-mek
Patch Set: Use constref rather than pointer for FireOneShotSync Created 5 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: content/browser/background_sync/background_sync_manager_unittest.cc
diff --git a/content/browser/background_sync/background_sync_manager_unittest.cc b/content/browser/background_sync/background_sync_manager_unittest.cc
index f0378ecfd3766be1506954a2f7b44f74cf39f22f..6728ae4db029f5ab130a4cda996b6602ba424695 100644
--- a/content/browser/background_sync/background_sync_manager_unittest.cc
+++ b/content/browser/background_sync/background_sync_manager_unittest.cc
@@ -183,10 +183,12 @@ class TestBackgroundSyncManager : public BackgroundSyncManager {
}
void FireOneShotSync(
+ const BackgroundSyncRegistration& registration,
const scoped_refptr<ServiceWorkerVersion>& active_version,
const ServiceWorkerVersion::StatusCallback& callback) override {
if (one_shot_callback_.is_null()) {
- BackgroundSyncManager::FireOneShotSync(active_version, callback);
+ BackgroundSyncManager::FireOneShotSync(registration, active_version,
+ callback);
} else {
one_shot_callback_.Run(active_version, callback);
}

Powered by Google App Engine
This is Rietveld 408576698