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

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

Issue 2040563002: Remove FileError interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fe-dep
Patch Set: handleEvent -> invoke and other review nits Created 4 years, 5 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/DOMFileSystem.h
diff --git a/third_party/WebKit/Source/modules/filesystem/DOMFileSystem.h b/third_party/WebKit/Source/modules/filesystem/DOMFileSystem.h
index 4f403485a12c581fa05113e54b0b630e5d3f99c0..9d74798cff097cc1fc59b7f9f3f0ade880ea35b7 100644
--- a/third_party/WebKit/Source/modules/filesystem/DOMFileSystem.h
+++ b/third_party/WebKit/Source/modules/filesystem/DOMFileSystem.h
@@ -64,15 +64,15 @@ public:
// DOMFileSystemBase overrides.
void addPendingCallbacks() override;
void removePendingCallbacks() override;
- void reportError(ErrorCallback*, FileError*) override;
+ void reportError(ErrorCallbackBase*, FileError::ErrorCode) override;
- static void reportError(ExecutionContext*, ErrorCallback*, FileError*);
+ static void reportError(ExecutionContext*, ErrorCallbackBase*, FileError::ErrorCode);
// ActiveScriptWrappable overrides.
bool hasPendingActivity() const final;
- void createWriter(const FileEntry*, FileWriterCallback*, ErrorCallback*);
- void createFile(const FileEntry*, BlobCallback*, ErrorCallback*);
+ void createWriter(const FileEntry*, FileWriterCallback*, ErrorCallbackBase*);
+ void createFile(const FileEntry*, BlobCallback*, ErrorCallbackBase*);
// Schedule a callback. This should not cross threads (should be called on the same context thread).
static void scheduleCallback(ExecutionContext* executionContext, std::unique_ptr<ExecutionContextTask> task)

Powered by Google App Engine
This is Rietveld 408576698