Index: base/sys_info_chromeos.cc |
diff --git a/base/sys_info_chromeos.cc b/base/sys_info_chromeos.cc |
index f84a2a5f81ba78469895b0275f1bd672f379466e..f0e510f1b7d7c39e627d33a6c6c1931220674cb9 100644 |
--- a/base/sys_info_chromeos.cc |
+++ b/base/sys_info_chromeos.cc |
@@ -113,4 +113,17 @@ void SysInfo::ParseLsbRelease(const std::string& lsb_release, |
} |
} |
+//static |
Evan Stade
2012/04/14 00:37:46
// static
Kyle Horimoto
2012/04/16 18:32:54
Done.
|
+bool SysInfo::GetTimeLastUpdated(base::Time* time) { |
+ FilePath path(kLinuxStandardBaseReleaseFile); |
+ base::PlatformFileInfo info; |
+ |
+ if (file_util::GetFileInfo(path, &info)) { |
+ *time = info.last_modified; |
+ return true; |
+ } |
+ |
+ return false; |
+} |
+ |
} // namespace base |