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

Unified Diff: chrome/common/logging_chrome_uitest.cc

Issue 3029062: base: rename Environment::GetEnv to Environment::GetVar. (Closed) Base URL: git://git.chromium.org/chromium.git
Patch Set: Created 10 years, 4 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 | « chrome/common/logging_chrome.cc ('k') | chrome/plugin/plugin_main_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/logging_chrome_uitest.cc
diff --git a/chrome/common/logging_chrome_uitest.cc b/chrome/common/logging_chrome_uitest.cc
index a8c39c03a06bfe030777da3e6b2bca2404746faa..328a5a491045ab7204c98f42851df7853548280d 100644
--- a/chrome/common/logging_chrome_uitest.cc
+++ b/chrome/common/logging_chrome_uitest.cc
@@ -26,7 +26,7 @@ class ChromeLoggingTest : public testing::Test {
// variable and sets the variable to new_value.
void SaveEnvironmentVariable(std::string new_value) {
scoped_ptr<base::Environment> env(base::Environment::Create());
- if (!env->GetEnv(env_vars::kLogFileName, &environment_filename_))
+ if (!env->GetVar(env_vars::kLogFileName, &environment_filename_))
environment_filename_ = "";
env->SetVar(env_vars::kLogFileName, new_value);
« no previous file with comments | « chrome/common/logging_chrome.cc ('k') | chrome/plugin/plugin_main_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698