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

Unified Diff: webkit/browser/fileapi/quota/open_file_handle_context.h

Issue 140833003: [Pepper][FileAPI] Interface clean up (3/6) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix comment Created 6 years, 11 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/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>;
« no previous file with comments | « webkit/browser/fileapi/quota/open_file_handle.cc ('k') | webkit/browser/fileapi/quota/open_file_handle_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698