| OLD | NEW |
| (Empty) |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef SyncError_h | |
| 6 #define SyncError_h | |
| 7 | |
| 8 #include "core/dom/DOMException.h" | |
| 9 #include "platform/heap/Handle.h" | |
| 10 #include "public/platform/modules/background_sync/WebSyncError.h" | |
| 11 #include "wtf/Allocator.h" | |
| 12 | |
| 13 namespace blink { | |
| 14 | |
| 15 class ScriptPromiseResolver; | |
| 16 | |
| 17 class SyncError { | |
| 18 STATIC_ONLY(SyncError); | |
| 19 | |
| 20 public: | |
| 21 static DOMException* take(ScriptPromiseResolver*, const WebSyncError&); | |
| 22 }; | |
| 23 | |
| 24 } // namespace blink | |
| 25 | |
| 26 #endif // SyncError_h | |
| OLD | NEW |