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

Unified Diff: base/environment.h

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
« 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/env_var.h b/base/environment.h
similarity index 86%
rename from base/env_var.h
rename to base/environment.h
index 43d3fd64d06a90926064eb8494da644af80f3e84..a586ae8a89ec7595b78765c4a631210307231a67 100644
--- a/base/env_var.h
+++ b/base/environment.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef BASE_ENV_VAR_H_
-#define BASE_ENV_VAR_H_
+#ifndef BASE_ENVIRONMENT_H_
+#define BASE_ENVIRONMENT_H_
#pragma once
#include <string>
@@ -20,13 +20,13 @@ extern const char kHome[];
} // namespace env_vars
-class EnvVarGetter {
+class Environment {
public:
- virtual ~EnvVarGetter();
+ virtual ~Environment();
// Static factory method that returns the implementation that provide the
// appropriate platform-specific instance.
- static EnvVarGetter* Create();
+ static Environment* Create();
// Gets an environment variable's value and stores it in |result|.
// Returns false if the key is unset.
@@ -45,4 +45,4 @@ class EnvVarGetter {
} // namespace base
-#endif // BASE_ENV_VAR_H_
+#endif // BASE_ENVIRONMENT_H_
« 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