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

Unified Diff: public/platform/modules/background_sync/WebSyncProvider.h

Issue 1299903002: Reland of Call dispatcher's releaseRegistration when done with registrations (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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
« no previous file with comments | « Source/modules/background_sync/SyncRegistration.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/modules/background_sync/WebSyncProvider.h
diff --git a/public/platform/modules/background_sync/WebSyncProvider.h b/public/platform/modules/background_sync/WebSyncProvider.h
index 93a6d6943997912adbcfe5dd1fcc88364df769ef..36132b1a89730f8040a475ee81c0ffcbd18772e7 100644
--- a/public/platform/modules/background_sync/WebSyncProvider.h
+++ b/public/platform/modules/background_sync/WebSyncProvider.h
@@ -54,6 +54,19 @@ public:
callbacks->onError(new WebSyncError(WebSyncError::ErrorTypeAbort, "Function not implemented."));
delete callbacks;
}
+
+ // Takes ownership of the WebServiceWorkerRegistration.
+ virtual void trackRegistration(WebSyncRegistration* registration)
+ {
+ // TODO(jkarlin): After landing both legs of the releaseRegistration CLs, make this a pure virtual function.
+ return;
+ }
+
+ virtual void releaseRegistration(int64_t syncId)
+ {
+ // TODO(jkarlin): After landing both legs of the releaseRegistration CLs, make this a pure virtual function.
+ return;
+ }
};
} // namespace blink
« no previous file with comments | « Source/modules/background_sync/SyncRegistration.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698