diff options
author | John Reck <jreck@google.com> | 2010-11-04 12:00:17 -0700 |
---|---|---|
committer | John Reck <jreck@google.com> | 2010-11-09 11:35:04 -0800 |
commit | e14391e94c850b8bd03680c23b38978db68687a8 (patch) | |
tree | 3fed87e6620fecaf3edc7259ae58a11662bedcb2 /WebCore/fileapi/FileWriter.h | |
parent | 1bd705833a68f07850cf7e204b26f8d328d16951 (diff) | |
download | external_webkit-e14391e94c850b8bd03680c23b38978db68687a8.zip external_webkit-e14391e94c850b8bd03680c23b38978db68687a8.tar.gz external_webkit-e14391e94c850b8bd03680c23b38978db68687a8.tar.bz2 |
Merge Webkit at r70949: Initial merge by git.
Change-Id: I77b8645c083b5d0da8dba73ed01d4014aab9848e
Diffstat (limited to 'WebCore/fileapi/FileWriter.h')
-rw-r--r-- | WebCore/fileapi/FileWriter.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/WebCore/fileapi/FileWriter.h b/WebCore/fileapi/FileWriter.h index 454081c..0e884ea 100644 --- a/WebCore/fileapi/FileWriter.h +++ b/WebCore/fileapi/FileWriter.h @@ -77,7 +77,7 @@ public: // AsyncFileWriterClient void didWrite(long long bytes, bool complete); void didTruncate(); - void didFail(ExceptionCode ec); + void didFail(FileError::ErrorCode); // ActiveDOMObject virtual bool canSuspend() const; @@ -97,7 +97,7 @@ public: DEFINE_ATTRIBUTE_EVENT_LISTENER(abort); DEFINE_ATTRIBUTE_EVENT_LISTENER(error); DEFINE_ATTRIBUTE_EVENT_LISTENER(writeend); - + private: FileWriter(ScriptExecutionContext*); @@ -113,6 +113,8 @@ private: void fireEvent(const AtomicString& type); + void setError(FileError::ErrorCode, ExceptionCode&); + RefPtr<FileError> m_error; EventTargetData m_eventTargetData; OwnPtr<AsyncFileWriter> m_writer; |