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

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

Issue 102873002: Move GetFileSize, NormalizeFilePath to base namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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.cc
diff --git a/webkit/browser/fileapi/quota/open_file_handle_context.cc b/webkit/browser/fileapi/quota/open_file_handle_context.cc
index a730f06cb3bbd7083aea40f9998081ad5d6f4b2c..0928fff7ee299384e6c8c3e1771495cfaa7e0c09 100644
--- a/webkit/browser/fileapi/quota/open_file_handle_context.cc
+++ b/webkit/browser/fileapi/quota/open_file_handle_context.cc
@@ -18,7 +18,7 @@ OpenFileHandleContext::OpenFileHandleContext(
reservation_buffer_(reservation_buffer) {
DCHECK(sequence_checker_.CalledOnValidSequencedThread());
- file_util::GetFileSize(platform_path, &initial_file_size_);
+ base::GetFileSize(platform_path, &initial_file_size_);
maximum_written_offset_ = initial_file_size_;
}
@@ -43,7 +43,7 @@ OpenFileHandleContext::~OpenFileHandleContext() {
// TODO(tzik): Optimize this for single operation.
int64 file_size = 0;
- file_util::GetFileSize(platform_path_, &file_size);
+ base::GetFileSize(platform_path_, &file_size);
int64 usage_delta = file_size - initial_file_size_;
// |quota_consumption| may be greater than the recorded file growth when a
« no previous file with comments | « webkit/browser/fileapi/dump_file_system.cc ('k') | webkit/browser/fileapi/quota/quota_reservation_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698