Chromium Code Reviews| 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..d5f431b691a6d0c02297b36399922a7f7f0a32e4 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 amount of the quota to consume. |
|
bbudge
2014/01/16 13:47:42
s/amount of the quota to consume/the amount of gro
tzik
2014/01/17 04:04:03
Done.
|
| + 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>; |