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

Unified Diff: net/disk_cache/file.h

Issue 3167020: Disk cache: Extend the internal buffering performed by each entry... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 4 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: net/disk_cache/file.h
===================================================================
--- net/disk_cache/file.h (revision 55505)
+++ net/disk_cache/file.h (working copy)
@@ -61,10 +61,6 @@
bool Write(const void* buffer, size_t buffer_len, size_t offset,
FileIOCallback* callback, bool* completed);
- // Performs asynchronous writes, but doesn't notify when done. Automatically
- // deletes buffer when done.
- bool PostWrite(const void* buffer, size_t buffer_len, size_t offset);
-
// Sets the file's length. The file is truncated or extended with zeros to
// the new length.
bool SetLength(size_t length);
@@ -79,7 +75,7 @@
// Performs the actual asynchronous write. If notify is set and there is no
// callback, the call will be re-synchronized.
bool AsyncWrite(const void* buffer, size_t buffer_len, size_t offset,
- bool notify, FileIOCallback* callback, bool* completed);
+ FileIOCallback* callback, bool* completed);
private:
bool init_;

Powered by Google App Engine
This is Rietveld 408576698