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

Unified Diff: base/environment.h

Issue 3029062: base: rename Environment::GetEnv to Environment::GetVar. (Closed) Base URL: git://git.chromium.org/chromium.git
Patch Set: Created 10 years, 4 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 | « base/base_paths_posix.cc ('k') | base/environment.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/environment.h
diff --git a/base/environment.h b/base/environment.h
index ac83de37108651e98e315698b6a7723277f1f437..4c0691b22ab4ab6b894f0db9049e8ebd5b1e753a 100644
--- a/base/environment.h
+++ b/base/environment.h
@@ -30,9 +30,9 @@ class Environment {
// Gets an environment variable's value and stores it in |result|.
// Returns false if the key is unset.
- virtual bool GetEnv(const char* variable_name, std::string* result) = 0;
+ virtual bool GetVar(const char* variable_name, std::string* result) = 0;
- // Syntactic sugar for GetEnv(variable_name, NULL);
+ // Syntactic sugar for GetVar(variable_name, NULL);
virtual bool HasVar(const char* variable_name);
// Returns true on success, otherwise returns false.
« no previous file with comments | « base/base_paths_posix.cc ('k') | base/environment.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698