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

Unified Diff: Source/modules/serviceworkers/WaitUntilObserver.h

Issue 1256133002: Service Worker: Correct Web IDL of ExtendableEvent.waitUntil method. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Address comment: add/delete headers. Created 5 years, 5 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/serviceworkers/WaitUntilObserver.h
diff --git a/Source/modules/serviceworkers/WaitUntilObserver.h b/Source/modules/serviceworkers/WaitUntilObserver.h
index 30fe525fa90923c355a8c7e74b5b1715682ecb3a..5599d7ed929b2d0eb9cc24bc64a4c157ef2f09ea 100644
--- a/Source/modules/serviceworkers/WaitUntilObserver.h
+++ b/Source/modules/serviceworkers/WaitUntilObserver.h
@@ -16,6 +16,7 @@ namespace blink {
class ExceptionState;
class ExecutionContext;
+class ScriptPromise;
class ScriptState;
class ScriptValue;
@@ -39,7 +40,7 @@ public:
// Observes the promise and delays calling the continuation until
// the given promise is resolved or rejected.
- void waitUntil(ScriptState*, const ScriptValue&, ExceptionState&);
+ void waitUntil(ScriptState*, ScriptPromise, ExceptionState&);
DECLARE_VIRTUAL_TRACE();

Powered by Google App Engine
This is Rietveld 408576698