| Index: webkit/browser/fileapi/quota/open_file_handle_context.h
|
| diff --git a/webkit/browser/fileapi/quota/open_file_handle_context.h b/webkit/browser/fileapi/quota/open_file_handle_context.h
|
| index 4b5d3cc75cd9902d300b06ad7d334f6cdc2d379c..f80b0f51cabffd96f5499322f848d4462fcf68aa 100644
|
| --- a/webkit/browser/fileapi/quota/open_file_handle_context.h
|
| +++ b/webkit/browser/fileapi/quota/open_file_handle_context.h
|
| @@ -29,15 +29,14 @@ class OpenFileHandleContext : public base::RefCounted<OpenFileHandleContext> {
|
| OpenFileHandleContext(const base::FilePath& platform_path,
|
| QuotaReservationBuffer* reservation_buffer);
|
|
|
| - void UpdateMaxWrittenOffset(int64 offset,
|
| - int64* new_file_size,
|
| - int64* growth);
|
| + // Updates the max written offset and returns the amount of growth.
|
| + int64 UpdateMaxWrittenOffset(int64 offset);
|
|
|
| const base::FilePath& platform_path() const {
|
| return platform_path_;
|
| }
|
|
|
| - int64 base_file_size() const { return maximum_written_offset_; }
|
| + int64 GetEstimatedFileSize() const;
|
|
|
| private:
|
| friend class base::RefCounted<OpenFileHandleContext>;
|
|
|