Chromium Code Reviews| Index: base/sys_info.h |
| diff --git a/base/sys_info.h b/base/sys_info.h |
| index d24acdf6b434eddf991c7787dc4f4e10989e9003..5f464d619acf83f2b093ba516567eba684a80a25 100644 |
| --- a/base/sys_info.h |
| +++ b/base/sys_info.h |
| @@ -51,6 +51,12 @@ class BASE_EXPORT SysInfo { |
| // Returns system uptime in milliseconds. |
| static int64 Uptime(); |
| + // Returns a descriptive string for the current machine model or an empty |
| + // string if machime model is unknown or an error occured. |
| + // e.g. MacPro1,1 on Mac. |
| + // Only implemented on OS X. |
|
Mark Mentovai
2014/11/06 14:10:14
This makes it sound like it’s an error to call on
|
| + static std::string HardwareModelName(); |
| + |
| // Returns the name of the host operating system. |
| static std::string OperatingSystemName(); |