| Index: third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerError.h
|
| diff --git a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerError.h b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerError.h
|
| index c2054d7b60b392b6ab4dd7c7d348a73e9647380f..e7e1cf45540c421efc10345f9dd5a01c7515ad6c 100644
|
| --- a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerError.h
|
| +++ b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerError.h
|
| @@ -36,6 +36,8 @@
|
| #include "wtf/OwnPtr.h"
|
| #include "wtf/PassOwnPtr.h"
|
|
|
| +#include <v8.h>
|
| +
|
| namespace blink {
|
|
|
| class DOMException;
|
| @@ -49,6 +51,13 @@ public:
|
| static DOMException* take(ScriptPromiseResolver*, const WebServiceWorkerError& webError);
|
| };
|
|
|
| +class ServiceWorkerErrorForUpdate : public ServiceWorkerError {
|
| + STATIC_ONLY(ServiceWorkerErrorForUpdate);
|
| +public:
|
| + // For CallbackPromiseAdapter
|
| + static v8::Local<v8::Value> take(ScriptPromiseResolver* resolver, const WebServiceWorkerError& webError);
|
| +};
|
| +
|
| } // namespace blink
|
|
|
| #endif // ServiceWorkerError_h
|
|
|