Index: Source/modules/presentation/PresentationError.h |
diff --git a/Source/modules/presentation/PresentationError.h b/Source/modules/presentation/PresentationError.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c5a3fddb18326d04af9c137acc170e6c487f289c |
--- /dev/null |
+++ b/Source/modules/presentation/PresentationError.h |
@@ -0,0 +1,27 @@ |
+// 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 PresentationError_h |
+#define PresentationError_h |
+ |
+#include "platform/heap/Handle.h" |
+#include "public/platform/modules/presentation/WebPresentationError.h" |
+ |
+namespace blink { |
+ |
+class DOMException; |
+ |
+// A container of methods taking care of WebPresentationError in WebCallbacks subclasses. |
+class PresentationError final { |
+public: |
+ static PassRefPtrWillBeRawPtr<DOMException> take(WebPresentationError*); |
+ static void dispose(WebPresentationError*); |
+ |
+private: |
+ ~PresentationError() = delete; |
+}; |
+ |
+} // namespace blink |
+ |
+#endif // PresentationError_h |