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

Unified Diff: content/browser/background_sync/background_sync_manager.h

Issue 1059183004: [BackgroundSyncManager] Remove dead code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove moar! Created 5 years, 8 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
« no previous file with comments | « no previous file | content/browser/background_sync/background_sync_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/background_sync/background_sync_manager.h
diff --git a/content/browser/background_sync/background_sync_manager.h b/content/browser/background_sync/background_sync_manager.h
index 2ba2da157216339e53e02e97f9e26398b9be60be..3727be4efe107a6f65af23fb526f596f8b2fdd8d 100644
--- a/content/browser/background_sync/background_sync_manager.h
+++ b/content/browser/background_sync/background_sync_manager.h
@@ -173,11 +173,9 @@ class CONTENT_EXPORT BackgroundSyncManager
int64 sw_registration_id,
const ServiceWorkerStorage::StatusCallback& callback);
- // If the registration is in the map, removes it and returns the removed
- // registration in |old_registration|. |old_registration| may be null.
+ // Removes the registration if it is in the map.
void RemoveRegistrationFromMap(int64 sw_registration_id,
- const std::string& sync_registration_name,
- BackgroundSyncRegistration* old_registration);
+ const std::string& sync_registration_name);
void AddRegistrationToMap(
int64 sw_registration_id,
@@ -208,7 +206,6 @@ class CONTENT_EXPORT BackgroundSyncManager
const StatusCallback& callback);
void UnregisterDidStore(
int64 sw_registration_id,
- const BackgroundSyncRegistration& old_sync_registration,
const StatusCallback& callback,
ServiceWorkerStatusCode status);
« no previous file with comments | « no previous file | content/browser/background_sync/background_sync_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698