From 76b90d310def447b7b5f10d92a69813308150778 Mon Sep 17 00:00:00 2001 From: "tfarina@chromium.org" Date: Tue, 3 Aug 2010 03:00:50 +0000 Subject: 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 Review URL: http://codereview.chromium.org/3052034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54696 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/common/process_watcher_win.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chrome/common/process_watcher_win.cc') diff --git a/chrome/common/process_watcher_win.cc b/chrome/common/process_watcher_win.cc index ed99780..8f37d3f 100644 --- a/chrome/common/process_watcher_win.cc +++ b/chrome/common/process_watcher_win.cc @@ -5,7 +5,7 @@ #include "chrome/common/process_watcher.h" #include "base/scoped_ptr.h" -#include "base/env_var.h" +#include "base/environment.h" #include "base/message_loop.h" #include "base/object_watcher.h" #include "chrome/common/env_vars.h" @@ -49,7 +49,7 @@ class TimerExpiredTask : public Task, public base::ObjectWatcher::Delegate { private: void KillProcess() { - scoped_ptr env(base::EnvVarGetter::Create()); + scoped_ptr env(base::Environment::Create()); if (env->HasEnv(env_vars::kHeadless)) { // If running the distributed tests, give the renderer a little time // to figure out that the channel is shutdown and unwind. -- cgit v1.1