Chromium Code Reviews| Index: webkit/fileapi/webfilewriter_base.h |
| diff --git a/webkit/fileapi/webfilewriter_base.h b/webkit/fileapi/webfilewriter_base.h |
| index 60872e29f89aa690fab2017a71ca033d97dfacb4..e3add4e72dcb64173b92ac7874946d1ee49c2234 100644 |
| --- a/webkit/fileapi/webfilewriter_base.h |
| +++ b/webkit/fileapi/webfilewriter_base.h |
| @@ -29,7 +29,13 @@ class WEBKIT_STORAGE_EXPORT WebFileWriterBase |
| virtual void write(long long position, const WebKit::WebURL& blobURL); |
| virtual void cancel(); |
| + void DidFinish(base::PlatformFileError error_code); |
| + void DidWrite(int64 bytes, bool complete); |
|
michaeln
2013/05/15 20:18:26
do these need to be public now?
kinuko
2013/05/16 09:29:38
Made them protected.
|
| + |
| protected: |
| + void DidSucceed(); |
| + void DidFail(base::PlatformFileError error_code); |
| + |
| // Derived classes must provide these methods to asynchronously perform |
| // the requested operation, and they must call the appropiate DidSomething |
| // method upon completion and as progress is made in the Write case. |
| @@ -38,10 +44,6 @@ class WEBKIT_STORAGE_EXPORT WebFileWriterBase |
| int64 offset) = 0; |
| virtual void DoCancel() = 0; |
| - void DidSucceed(); |
| - void DidFail(base::PlatformFileError error_code); |
| - void DidWrite(int64 bytes, bool complete); |
| - |
| private: |
| enum OperationType { |
| kOperationNone, |