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

Unified Diff: chrome/common/extensions/extension_file_util.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 | « chrome/browser/ui/network_profile_bubble.cc ('k') | chrome/installer/tools/validate_installation_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/extension_file_util.cc
diff --git a/chrome/common/extensions/extension_file_util.cc b/chrome/common/extensions/extension_file_util.cc
index 82982b0cc155b51b030452a5250d6f5df5a32d28..f401b92c064e58929fecdc68e9e2e08e5386641c 100644
--- a/chrome/common/extensions/extension_file_util.cc
+++ b/chrome/common/extensions/extension_file_util.cc
@@ -228,7 +228,7 @@ std::vector<base::FilePath> FindPrivateKeyFiles(
bool ValidateFilePath(const base::FilePath& path) {
int64 size = 0;
if (!base::PathExists(path) ||
- !file_util::GetFileSize(path, &size) ||
+ !base::GetFileSize(path, &size) ||
size == 0) {
return false;
}
« no previous file with comments | « chrome/browser/ui/network_profile_bubble.cc ('k') | chrome/installer/tools/validate_installation_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698