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

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

Issue 101143006: Convert base::file_util to use File instead of PlatformFile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove base:: 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: chrome/browser/extensions/extension_protocols.cc
diff --git a/chrome/browser/extensions/extension_protocols.cc b/chrome/browser/extensions/extension_protocols.cc
index ae0a0fbbdd2f7c64932d6d78a699b79e3c39de48..3baf2c0289e9f1b64e3d747f92f89a63cb15d898 100644
--- a/chrome/browser/extensions/extension_protocols.cc
+++ b/chrome/browser/extensions/extension_protocols.cc
@@ -230,7 +230,7 @@ class GeneratedBackgroundPageJob : public net::URLRequestSimpleJob {
base::Time GetFileLastModifiedTime(const base::FilePath& filename) {
if (base::PathExists(filename)) {
- base::PlatformFileInfo info;
+ base::File::Info info;
if (base::GetFileInfo(filename, &info))
return info.last_modified;
}
@@ -239,7 +239,7 @@ base::Time GetFileLastModifiedTime(const base::FilePath& filename) {
base::Time GetFileCreationTime(const base::FilePath& filename) {
if (base::PathExists(filename)) {
- base::PlatformFileInfo info;
+ base::File::Info info;
if (base::GetFileInfo(filename, &info))
return info.creation_time;
}
« no previous file with comments | « chrome/browser/devtools/devtools_file_system_indexer.cc ('k') | chrome/browser/extensions/extension_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698