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

Unified Diff: base/sys_info.h

Issue 10038034: Implemented a "Last Updated" field for the about page of Chrome OS. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Moved #include out of #if defined(OS_CHROMEOS) Created 8 years, 8 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
« no previous file with comments | « no previous file | base/sys_info_chromeos.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/sys_info.h
diff --git a/base/sys_info.h b/base/sys_info.h
index f3677d6009f0e67147642c54a470fb3c97a3bde2..b74f1ac679cdae0a860527f02d291de4f9c0a6c2 100644
--- a/base/sys_info.h
+++ b/base/sys_info.h
@@ -8,6 +8,8 @@
#include "base/base_export.h"
#include "base/basictypes.h"
+#include "base/file_path.h"
+#include "base/time.h"
#include <string>
@@ -61,7 +63,7 @@ class BASE_EXPORT SysInfo {
#if defined(OS_POSIX) && !defined(OS_MACOSX)
// Returns the maximum SysV shared memory segment size.
static size_t MaxSharedMemorySize();
-#endif
+#endif // defined(OS_POSIX) && !defined(OS_MACOSX)
#if defined(OS_CHROMEOS)
// Returns the name of the version entry we wish to look up in the
@@ -74,7 +76,10 @@ class BASE_EXPORT SysInfo {
int32* major_version,
int32* minor_version,
int32* bugfix_version);
-#endif
+
+ // Returns the path to the lsb-release file.
+ static FilePath GetLsbReleaseFilePath();
+#endif // defined(OS_CHROMEOS)
};
} // namespace base
« no previous file with comments | « no previous file | base/sys_info_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698