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

Unified Diff: Source/modules/filesystem/DirectoryReaderSync.cpp

Issue 17761003: Remove FileException (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix compile warning Created 7 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
« no previous file with comments | « Source/modules/filesystem/DirectoryEntrySync.cpp ('k') | Source/modules/filesystem/EntrySync.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/filesystem/DirectoryReaderSync.cpp
diff --git a/Source/modules/filesystem/DirectoryReaderSync.cpp b/Source/modules/filesystem/DirectoryReaderSync.cpp
index 955f32c0fce9a1b7b2f0c3aee73c8e6a25fae60f..5fc34e53a5aa5b009f294a5d2e73f42ce2aef682 100644
--- a/Source/modules/filesystem/DirectoryReaderSync.cpp
+++ b/Source/modules/filesystem/DirectoryReaderSync.cpp
@@ -31,7 +31,7 @@
#include "config.h"
#include "modules/filesystem/DirectoryReaderSync.h"
-#include "core/fileapi/FileException.h"
+#include "core/dom/ExceptionCode.h"
#include "modules/filesystem/DirectoryEntry.h"
#include "modules/filesystem/DirectoryEntrySync.h"
#include "modules/filesystem/EntryArraySync.h"
@@ -55,7 +55,7 @@ PassRefPtr<EntryArraySync> DirectoryReaderSync::readEntries(ExceptionCode& ec)
EntriesSyncCallbackHelper helper(m_fileSystem->asyncFileSystem());
if (!m_fileSystem->readDirectory(this, m_fullPath, helper.successCallback(), helper.errorCallback())) {
- ec = FileException::INVALID_MODIFICATION_ERR;
+ ec = FSInvalidModificationError;
setHasMoreEntries(false);
return 0;
}
« no previous file with comments | « Source/modules/filesystem/DirectoryEntrySync.cpp ('k') | Source/modules/filesystem/EntrySync.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698