UMA: Set Hardware model class on Mac.

Record the hardware model on Mac e.g. MacPro1,1 .

BUG=429487

Review URL: https://codereview.chromium.org/699173002

Cr-Commit-Position: refs/heads/master@{#303054}


CrOS-Libchrome-Original-Commit: ba4eca9bf6691e4ed55eee55a0bcac1a932b7688
diff --git a/base/sys_info.h b/base/sys_info.h
index d24acdf..660343d 100644
--- a/base/sys_info.h
+++ b/base/sys_info.h
@@ -51,6 +51,12 @@
   // 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, will return an empty string on other platforms.
+  static std::string HardwareModelName();
+
   // Returns the name of the host operating system.
   static std::string OperatingSystemName();