summaryrefslogtreecommitdiffstats
path: root/base/environment.h
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-07 02:57:59 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-07 02:57:59 +0000
commit3ba7e0887015ba6a59579c4de08a6d609f851c23 (patch)
treed4b3ab95c9fa344346e2a1d3357916771587dcd1 /base/environment.h
parent3eac24a2b4c9438196899e62ac2f3ae5f03ba039 (diff)
downloadchromium_src-3ba7e0887015ba6a59579c4de08a6d609f851c23.zip
chromium_src-3ba7e0887015ba6a59579c4de08a6d609f851c23.tar.gz
chromium_src-3ba7e0887015ba6a59579c4de08a6d609f851c23.tar.bz2
base: rename Environment::GetEnv to Environment::GetVar.
This is the part 4 and the latest of this series. BUG=None TEST=trybots Review URL: http://codereview.chromium.org/3029062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55326 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/environment.h')
-rw-r--r--base/environment.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/base/environment.h b/base/environment.h
index ac83de3..4c0691b 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.