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

Unified Diff: Source/modules/background_sync/SyncManager.h

Issue 1309393003: [Background Sync] Allow sync manager access from uncontrolled clients (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixing comment 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: Source/modules/background_sync/SyncManager.h
diff --git a/Source/modules/background_sync/SyncManager.h b/Source/modules/background_sync/SyncManager.h
index 25db226a587110f7101eb64dd87b96a28f8ef8a9..8690788ff913165873431dc3010cdb26b0e9fc96 100644
--- a/Source/modules/background_sync/SyncManager.h
+++ b/Source/modules/background_sync/SyncManager.h
@@ -11,6 +11,7 @@
namespace blink {
+class ExecutionContext;
class SyncRegistrationOptions;
class ScriptPromise;
class ScriptState;
@@ -26,8 +27,7 @@ public:
unsigned long minAllowablePeriod();
- ScriptPromise registerFunction(ScriptState*);
- ScriptPromise registerFunction(ScriptState*, const SyncRegistrationOptions&);
+ ScriptPromise registerFunction(ScriptState*, ExecutionContext*, const SyncRegistrationOptions&);
ScriptPromise getRegistration(ScriptState*, const String&);
ScriptPromise getRegistrations(ScriptState*);
ScriptPromise permissionState(ScriptState*);
« no previous file with comments | « Source/modules/background_sync/PeriodicSyncManager.idl ('k') | Source/modules/background_sync/SyncManager.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698