Index: third_party/WebKit/Source/modules/filesystem/ErrorCallback.h |
diff --git a/third_party/WebKit/Source/modules/filesystem/ErrorCallback.h b/third_party/WebKit/Source/modules/filesystem/ErrorCallback.h |
index 655b495dc46aea11538d923da5c9ee3c2855d402..f2cc1b1a4eff401163683a5f8c666b5b79266cff 100644 |
--- a/third_party/WebKit/Source/modules/filesystem/ErrorCallback.h |
+++ b/third_party/WebKit/Source/modules/filesystem/ErrorCallback.h |
@@ -31,17 +31,17 @@ |
#ifndef ErrorCallback_h |
#define ErrorCallback_h |
+#include "core/fileapi/FileError.h" |
#include "platform/heap/Handle.h" |
namespace blink { |
-class FileError; |
- |
class ErrorCallback : public GarbageCollectedFinalized<ErrorCallback> { |
public: |
virtual ~ErrorCallback() { } |
DEFINE_INLINE_VIRTUAL_TRACE() { } |
- virtual void handleEvent(FileError*) = 0; |
+ virtual void handleEvent(DOMException*) = 0; |
+ virtual void handleEvent(FileError::ErrorCode error) { handleEvent(FileError::createDOMException(error)); } |
foolip
2016/06/23 12:04:48
I don't think I quite understand the new role of t
jsbell
2016/06/23 19:44:29
It is weird - I'll see if I can split it up.
It s
|
}; |
} // namespace blink |