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

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: 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..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>;

Powered by Google App Engine
This is Rietveld 408576698