diff options
Diffstat (limited to 'base/env_var.cc')
-rw-r--r-- | base/env_var.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/base/env_var.cc b/base/env_var.cc index 086191e..d0eaa0c 100644 --- a/base/env_var.cc +++ b/base/env_var.cc @@ -87,6 +87,16 @@ class EnvVarGetterImpl : public base::EnvVarGetter { namespace base { +namespace env_vars { + +#if defined(OS_POSIX) +// On Posix systems, this variable contains the location of the user's home +// directory. (e.g, /home/username/). +const char kHome[] = "HOME"; +#endif + +} // namespace env_vars + EnvVarGetter::~EnvVarGetter() {} bool EnvVarGetter::HasEnv(const char* variable_name) { |