summaryrefslogtreecommitdiffstats
path: root/base/env_var.h
diff options
context:
space:
mode:
Diffstat (limited to 'base/env_var.h')
-rw-r--r--base/env_var.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/base/env_var.h b/base/env_var.h
index 3cc2399..f0fe81f 100644
--- a/base/env_var.h
+++ b/base/env_var.h
@@ -23,7 +23,8 @@ class EnvVarGetter {
// Syntactic sugar for GetEnv(variable_name, NULL);
virtual bool HasEnv(const char* variable_name);
- virtual void SetEnv(const char* variable_name,
+ // Returns true on success, otherwise returns false.
+ virtual bool SetEnv(const char* variable_name,
const std::string& new_value) = 0;
// Create an instance of EnvVarGetter