Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(146)

Unified Diff: third_party/WebKit/Source/modules/filesystem/ErrorCallback.h

Issue 2040563002: Remove FileError interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fe-dep
Patch Set: Rebased, and closure annotations Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698