Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / modules / serviceworkers / WaitUntilObserver.h
index 2581e4c..3cad488 100644 (file)
@@ -17,7 +17,7 @@ class ScriptState;
 class ScriptValue;
 
 // Created for each ExtendableEvent instance.
-class WaitUntilObserver FINAL : public GarbageCollectedFinalized<WaitUntilObserver>, public ContextLifecycleObserver {
+class WaitUntilObserver final : public GarbageCollectedFinalized<WaitUntilObserver>, public ContextLifecycleObserver {
 public:
     enum EventType {
         Activate,
@@ -28,7 +28,7 @@ public:
 
     // Must be called before and after dispatching the event.
     void willDispatchEvent();
-    void didDispatchEvent();
+    void didDispatchEvent(bool errorOccurred);
 
     // Observes the promise and delays calling the continuation until
     // the given promise is resolved or rejected.