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

Unified Diff: Source/core/fileapi/FileReaderLoader.h

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/core/fileapi/FileReader.cpp ('k') | Source/core/fileapi/FileReaderLoader.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/fileapi/FileReaderLoader.h
diff --git a/Source/core/fileapi/FileReaderLoader.h b/Source/core/fileapi/FileReaderLoader.h
index 28e1d03195a9a3b6dfb8cd854243633cb60511f0..c4b0291553c1b6c27b52bfd60531cc29f738e2c0 100644
--- a/Source/core/fileapi/FileReaderLoader.h
+++ b/Source/core/fileapi/FileReaderLoader.h
@@ -76,7 +76,7 @@ public:
#endif // ENABLE(STREAM)
unsigned bytesLoaded() const { return m_bytesLoaded; }
unsigned totalBytes() const { return m_totalBytes; }
- int errorCode() const { return m_errorCode; }
+ FileError::ErrorCode errorCode() const { return m_errorCode; }
void setEncoding(const String&);
void setDataType(const String& dataType) { m_dataType = dataType; }
@@ -87,7 +87,7 @@ public:
private:
void terminate();
void cleanup();
- void failed(int errorCode);
+ void failed(FileError::ErrorCode);
void convertToText();
void convertToDataURL();
@@ -120,7 +120,7 @@ private:
unsigned m_rangeStart;
unsigned m_rangeEnd;
- int m_errorCode;
+ FileError::ErrorCode m_errorCode;
};
} // namespace WebCore
« no previous file with comments | « Source/core/fileapi/FileReader.cpp ('k') | Source/core/fileapi/FileReaderLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698