Index: base/win/win_util.h |
diff --git a/base/win/win_util.h b/base/win/win_util.h |
index 2227dfd91c2446cf10b41f5a3c8ecba839e00352..0bb229758ce441acb9af5db0390540a2cd2955b2 100644 |
--- a/base/win/win_util.h |
+++ b/base/win/win_util.h |
@@ -59,6 +59,9 @@ BASE_EXPORT bool IsCtrlPressed(); |
// Returns true if the alt key is currently pressed. |
BASE_EXPORT bool IsAltPressed(); |
+// Returns the computer name or the empty string an error occurred. |
+BASE_EXPORT std::string GetComputerName(); |
+ |
// Returns false if user account control (UAC) has been disabled with the |
// EnableLUA registry flag. Returns true if user account control is enabled. |
// NOTE: The EnableLUA registry flag, which is ignored on Windows XP |