diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-03 03:00:50 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-03 03:00:50 +0000 |
commit | 76b90d310def447b7b5f10d92a69813308150778 (patch) | |
tree | 24c61fdccf94360913bfa8f7ac67c24a27bcfb38 /chrome/common/logging_chrome.cc | |
parent | 7f2a9dbe56bfa6189271af808c53ccaee193a961 (diff) | |
download | chromium_src-76b90d310def447b7b5f10d92a69813308150778.zip chromium_src-76b90d310def447b7b5f10d92a69813308150778.tar.gz chromium_src-76b90d310def447b7b5f10d92a69813308150778.tar.bz2 |
base: Rename EnvVarGetter to Environment.
Now EnvVarGetter do much more than getting environment variables.
Per suggestion from Pawel in http://codereview.chromium.org/3043018/.
BUG=None
TEST=trybots
Signed-off-by: Thiago Farina <tfarina@chromium.org>
Review URL: http://codereview.chromium.org/3052034
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54696 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/logging_chrome.cc')
-rw-r--r-- | chrome/common/logging_chrome.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/common/logging_chrome.cc b/chrome/common/logging_chrome.cc index b93ca60..301ec13 100644 --- a/chrome/common/logging_chrome.cc +++ b/chrome/common/logging_chrome.cc @@ -33,7 +33,7 @@ #include "base/command_line.h" #include "base/compiler_specific.h" #include "base/debug_util.h" -#include "base/env_var.h" +#include "base/environment.h" #include "base/file_path.h" #include "base/file_util.h" #include "base/logging.h" @@ -197,7 +197,7 @@ void InitChromeLogging(const CommandLine& command_line, // headless mode to be configured either by the Environment // Variable or by the Command Line Switch. This is for // automated test purposes. - scoped_ptr<base::EnvVarGetter> env(base::EnvVarGetter::Create()); + scoped_ptr<base::Environment> env(base::Environment::Create()); if (env->HasEnv(env_vars::kHeadless) || command_line.HasSwitch(switches::kNoErrorDialogs)) SuppressDialogs(); @@ -240,7 +240,7 @@ void CleanupChromeLogging() { FilePath GetLogFileName() { std::string filename; - scoped_ptr<base::EnvVarGetter> env(base::EnvVarGetter::Create()); + scoped_ptr<base::Environment> env(base::Environment::Create()); if (env->GetEnv(env_vars::kLogFileName, &filename) && !filename.empty()) { #if defined(OS_WIN) return FilePath(UTF8ToWide(filename).c_str()); |