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

Unified Diff: content/child/background_sync/background_sync_provider.cc

Issue 1763123002: [BackgroundSync] Remove BackgroundSyncRegistrationHandle (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments from PS7 Created 4 years, 9 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/child/background_sync/background_sync_provider.cc
diff --git a/content/child/background_sync/background_sync_provider.cc b/content/child/background_sync/background_sync_provider.cc
index 06976dec1a7abecfe871214a52a9f95b38bcb05f..637ec60f42af615baa4f084b7436b6958a3ecc2c 100644
--- a/content/child/background_sync/background_sync_provider.cc
+++ b/content/child/background_sync/background_sync_provider.cc
@@ -124,18 +124,6 @@ void BackgroundSyncProvider::getRegistrations(
base::Passed(std::move(callbacksPtr))));
}
-void BackgroundSyncProvider::releaseRegistration(int64_t handle_id) {
- GetBackgroundSyncServicePtr()->ReleaseRegistration(handle_id);
-}
-
-void BackgroundSyncProvider::DuplicateRegistrationHandle(
- int64_t handle_id,
- const BackgroundSyncService::DuplicateRegistrationHandleCallback&
- callback) {
- GetBackgroundSyncServicePtr()->DuplicateRegistrationHandle(handle_id,
- callback);
-}
-
void BackgroundSyncProvider::WillStopCurrentWorkerThread() {
delete this;
}

Powered by Google App Engine
This is Rietveld 408576698