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

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

Issue 1316743002: Reland of [Background Sync] Allow sync manager access from uncontrolled clients (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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
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 84353f906328115ca2abc077f8c52b52aaf39be4..7b2ab83d4b90d5b32f8cb81a6ddf80783edb8db9 100644
--- a/content/browser/background_sync/background_sync_manager.h
+++ b/content/browser/background_sync/background_sync_manager.h
@@ -68,6 +68,7 @@ class CONTENT_EXPORT BackgroundSyncManager
// supplied.
void Register(int64 sw_registration_id,
const BackgroundSyncRegistrationOptions& options,
+ bool requested_from_service_worker,
const StatusAndRegistrationCallback& callback);
// Removes the background sync with tag |sync_registration_tag|, periodicity
@@ -195,6 +196,7 @@ class CONTENT_EXPORT BackgroundSyncManager
// Register callbacks
void RegisterImpl(int64 sw_registration_id,
const BackgroundSyncRegistrationOptions& options,
+ bool requested_from_service_worker,
const StatusAndRegistrationCallback& callback);
void RegisterDidStore(int64 sw_registration_id,
const BackgroundSyncRegistration& sync_registration,

Powered by Google App Engine
This is Rietveld 408576698