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, 3 insertions, 0 deletions
diff --git a/base/env_var.h b/base/env_var.h
index af1ec79..6888353 100644
--- a/base/env_var.h
+++ b/base/env_var.h
@@ -24,6 +24,9 @@ class EnvVarGetter {
return GetEnv(variable_name, NULL);
}
+ virtual void SetEnv(const char* variable_name,
+ const std::string& new_value) = 0;
+
// Create an instance of EnvVarGetter
static EnvVarGetter* Create();
};