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

Unified Diff: net/base/upload_file_element_reader.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
« no previous file with comments | « net/base/file_stream_unittest.cc ('k') | net/dns/dns_hosts.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/upload_file_element_reader.cc
diff --git a/net/base/upload_file_element_reader.cc b/net/base/upload_file_element_reader.cc
index 77c7705f7f4ebb7e000d0fbe29af7706a81c4c56..e7bf0c12bead89084abddd013598c1b428a7382a 100644
--- a/net/base/upload_file_element_reader.cc
+++ b/net/base/upload_file_element_reader.cc
@@ -46,7 +46,7 @@ int InitInternal(const base::FilePath& path,
}
int64 length = 0;
- if (!file_util::GetFileSize(path, &length)) {
+ if (!base::GetFileSize(path, &length)) {
DLOG(WARNING) << "Failed to get file size of \"" << path.value() << "\"";
return ERR_FILE_NOT_FOUND;
}
« no previous file with comments | « net/base/file_stream_unittest.cc ('k') | net/dns/dns_hosts.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698