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

Unified Diff: webkit/fileapi/webfilewriter_base.h

Issue 14796018: Cleanup: Deprecate FileSystemCallbackDispatcher (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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: 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,

Powered by Google App Engine
This is Rietveld 408576698