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

Unified Diff: Source/modules/background_sync/PeriodicSyncManager.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
« no previous file with comments | « no previous file | Source/modules/background_sync/PeriodicSyncManager.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/background_sync/PeriodicSyncManager.h
diff --git a/Source/modules/background_sync/PeriodicSyncManager.h b/Source/modules/background_sync/PeriodicSyncManager.h
index e66d26d7b97515a317ba7e1c2a856ed26906b41f..f00db18497e0b49cdf3077bd86eb29355f15d11a 100644
--- a/Source/modules/background_sync/PeriodicSyncManager.h
+++ b/Source/modules/background_sync/PeriodicSyncManager.h
@@ -11,6 +11,7 @@
namespace blink {
+class ExecutionContext;
class PeriodicSyncRegistrationOptions;
class ScriptPromise;
class ScriptState;
@@ -26,8 +27,7 @@ public:
unsigned long minPossiblePeriod();
- ScriptPromise registerFunction(ScriptState*);
- ScriptPromise registerFunction(ScriptState*, const PeriodicSyncRegistrationOptions&);
+ ScriptPromise registerFunction(ScriptState*, ExecutionContext*, const PeriodicSyncRegistrationOptions&);
ScriptPromise getRegistration(ScriptState*, const String&);
ScriptPromise getRegistrations(ScriptState*);
ScriptPromise permissionState(ScriptState*);
« no previous file with comments | « no previous file | Source/modules/background_sync/PeriodicSyncManager.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698