Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(224)

Unified Diff: base/env_var.h

Issue 2843048: base: Add SetEnv() to EnvVarGetter class and get rid of the some ifdefs. (Closed) Base URL: git://git.chromium.org/chromium.git
Patch Set: filename Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | base/env_var.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/env_var.h
diff --git a/base/env_var.h b/base/env_var.h
index af1ec79891dcb8e050297f6f1ee72a7d6554d7e2..68883533310c4b9ccdd5095d4297a2cceb0b4165 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();
};
« no previous file with comments | « no previous file | base/env_var.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698