| // Copyright 2015 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #ifndef THIRD_PARTY_BLINK_RENDERER_MODULES_PRESENTATION_PRESENTATION_ERROR_H_ |
| #define THIRD_PARTY_BLINK_RENDERER_MODULES_PRESENTATION_PRESENTATION_ERROR_H_ |
| |
| #include "third_party/blink/public/mojom/presentation/presentation.mojom-blink.h" |
| #include "third_party/blink/renderer/core/dom/dom_exception.h" |
| |
| namespace blink { |
| |
| // Creates a DOMException using the given PresentationError. |
| DOMException* CreatePresentationError(const mojom::blink::PresentationError&); |
| |
| } // namespace blink |
| |
| #endif // THIRD_PARTY_BLINK_RENDERER_MODULES_PRESENTATION_PRESENTATION_ERROR_H_ |