diff options
Diffstat (limited to 'base/env_var.cc')
-rw-r--r-- | base/env_var.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/base/env_var.cc b/base/env_var.cc index 8d32c02..bcdadb9 100644 --- a/base/env_var.cc +++ b/base/env_var.cc @@ -85,6 +85,12 @@ class EnvVarGetterImpl : public base::EnvVarGetter { namespace base { +EnvVarGetter::~EnvVarGetter() {} + +bool EnvVarGetter::HasEnv(const char* variable_name) { + return GetEnv(variable_name, NULL); +} + // static EnvVarGetter* EnvVarGetter::Create() { return new EnvVarGetterImpl(); |