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

Unified Diff: chrome/browser/extensions/extension_protocols.cc

Issue 105293002: Move more file_util functions 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: chrome/browser/extensions/extension_protocols.cc
diff --git a/chrome/browser/extensions/extension_protocols.cc b/chrome/browser/extensions/extension_protocols.cc
index 2b24eead969b9700ffd81919ef14ca9e9ba3a403..30a0cf26b4320ba45e792c84c3357b6d7c72fb80 100644
--- a/chrome/browser/extensions/extension_protocols.cc
+++ b/chrome/browser/extensions/extension_protocols.cc
@@ -232,7 +232,7 @@ class GeneratedBackgroundPageJob : public net::URLRequestSimpleJob {
base::Time GetFileLastModifiedTime(const base::FilePath& filename) {
if (base::PathExists(filename)) {
base::PlatformFileInfo info;
- if (file_util::GetFileInfo(filename, &info))
+ if (base::GetFileInfo(filename, &info))
return info.last_modified;
}
return base::Time();
@@ -241,7 +241,7 @@ base::Time GetFileLastModifiedTime(const base::FilePath& filename) {
base::Time GetFileCreationTime(const base::FilePath& filename) {
if (base::PathExists(filename)) {
base::PlatformFileInfo info;
- if (file_util::GetFileInfo(filename, &info))
+ if (base::GetFileInfo(filename, &info))
return info.creation_time;
}
return base::Time();
« no previous file with comments | « chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc ('k') | chrome/browser/first_run/upgrade_util_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698