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

Unified Diff: third_party/WebKit/Source/modules/filesystem/Entry.cpp

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/Entry.cpp
diff --git a/third_party/WebKit/Source/modules/filesystem/Entry.cpp b/third_party/WebKit/Source/modules/filesystem/Entry.cpp
index 159bc405f7e4dcc2dee68ec4fc34dee055ec518e..32b5f80aaf31f2fba65689ad51cdc4a740f67ae2 100644
--- a/third_party/WebKit/Source/modules/filesystem/Entry.cpp
+++ b/third_party/WebKit/Source/modules/filesystem/Entry.cpp
@@ -59,35 +59,35 @@ void Entry::getMetadata(ExecutionContext* context, MetadataCallback* successCall
{
if (m_fileSystem->type() == FileSystemTypeIsolated)
UseCounter::count(context, UseCounter::Entry_GetMetadata_Method_IsolatedFileSystem);
- m_fileSystem->getMetadata(this, successCallback, errorCallback);
+ m_fileSystem->getMetadata(this, successCallback, ScriptErrorCallback::wrap(errorCallback));
}
void Entry::moveTo(ExecutionContext* context, DirectoryEntry* parent, const String& name, EntryCallback* successCallback, ErrorCallback* errorCallback) const
{
if (m_fileSystem->type() == FileSystemTypeIsolated)
UseCounter::count(context, UseCounter::Entry_MoveTo_Method_IsolatedFileSystem);
- m_fileSystem->move(this, parent, name, successCallback, errorCallback);
+ m_fileSystem->move(this, parent, name, successCallback, ScriptErrorCallback::wrap(errorCallback));
}
void Entry::copyTo(ExecutionContext* context, DirectoryEntry* parent, const String& name, EntryCallback* successCallback, ErrorCallback* errorCallback) const
{
if (m_fileSystem->type() == FileSystemTypeIsolated)
UseCounter::count(context, UseCounter::Entry_CopyTo_Method_IsolatedFileSystem);
- m_fileSystem->copy(this, parent, name, successCallback, errorCallback);
+ m_fileSystem->copy(this, parent, name, successCallback, ScriptErrorCallback::wrap(errorCallback));
}
void Entry::remove(ExecutionContext* context, VoidCallback* successCallback, ErrorCallback* errorCallback) const
{
if (m_fileSystem->type() == FileSystemTypeIsolated)
UseCounter::count(context, UseCounter::Entry_Remove_Method_IsolatedFileSystem);
- m_fileSystem->remove(this, successCallback, errorCallback);
+ m_fileSystem->remove(this, successCallback, ScriptErrorCallback::wrap(errorCallback));
}
void Entry::getParent(ExecutionContext* context, EntryCallback* successCallback, ErrorCallback* errorCallback) const
{
if (m_fileSystem->type() == FileSystemTypeIsolated)
UseCounter::count(context, UseCounter::Entry_GetParent_Method_IsolatedFileSystem);
- m_fileSystem->getParent(this, successCallback, errorCallback);
+ m_fileSystem->getParent(this, successCallback, ScriptErrorCallback::wrap(errorCallback));
}
String Entry::toURL(ExecutionContext* context) const

Powered by Google App Engine
This is Rietveld 408576698