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

Unified Diff: courgette/encoded_program.cc

Issue 3052034: base: Rename EnvVarGetter to Environment. (Closed) Base URL: git://git.chromium.org/chromium.git
Patch Set: review 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
Index: courgette/encoded_program.cc
diff --git a/courgette/encoded_program.cc b/courgette/encoded_program.cc
index 71bd65ab213de95090f32d0a2d7d0ad647bd6de4..a83972f6c9868b4f3c7dd3d876108ccb556a3d4a 100644
--- a/courgette/encoded_program.cc
+++ b/courgette/encoded_program.cc
@@ -9,7 +9,7 @@
#include <string>
#include <vector>
-#include "base/env_var.h"
+#include "base/environment.h"
#include "base/logging.h"
#include "base/scoped_ptr.h"
#include "base/string_util.h"
@@ -266,7 +266,7 @@ enum FieldSelect {
static FieldSelect GetFieldSelect() {
#if 1
// TODO(sra): Use better configuration.
- scoped_ptr<base::EnvVarGetter> env(base::EnvVarGetter::Create());
+ scoped_ptr<base::Environment> env(base::Environment::Create());
std::string s;
env->GetEnv("A_FIELDS", &s);
if (!s.empty()) {

Powered by Google App Engine
This is Rietveld 408576698