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

Issue 3043018: base: Add UnSetEnv function to EnvVarGetter API. (Closed)

Created:
10 years, 5 months ago by tfarina
Modified:
9 years, 7 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, ben+cc_chromium.org, John Grabowski, jam, pam+watch_chromium.org, brettw-cc_chromium.org, darin-cc_chromium.org, Paweł Hajdan Jr.
Base URL:
git://git.chromium.org/chromium.git
Visibility:
Public.

Description

base: Add UnSetEnv function to EnvVarGetter API. BUG=None TEST=out/Debug/base_unittests --gtest_filter=EnvVarTest.UnSetEnvVar Signed-off-by: Thiago Farina <tfarina@chromium.org>; Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=54418

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 4

Patch Set 4 : review + rebased #

Total comments: 2

Patch Set 5 : #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+98 lines, -40 lines) Patch
M app/l10n_util_unittest.cc View 1 3 chunks +10 lines, -7 lines 0 comments Download
M base/env_var.h View 1 2 3 2 chunks +6 lines, -3 lines 1 comment Download
M base/env_var.cc View 3 chunks +19 lines, -4 lines 0 comments Download
M base/env_var_unittest.cc View 1 2 3 4 2 chunks +20 lines, -1 line 0 comments Download
M base/xdg_util_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/locale_tests_uitest.cc View 1 2 3 4 2 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/shell_integration_unittest.cc View 1 2 3 2 chunks +7 lines, -3 lines 0 comments Download
M chrome/browser/zygote_host_linux.cc View 1 2 3 4 3 chunks +7 lines, -4 lines 0 comments Download
M chrome/plugin/plugin_main_mac.mm View 1 2 2 chunks +16 lines, -12 lines 2 comments Download
M net/proxy/proxy_config_service_linux_unittest.cc View 1 2 3 1 chunk +6 lines, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
tfarina
10 years, 5 months ago (2010-07-26 13:43:20 UTC) #1
Paweł Hajdan Jr.
Drive-by with some test comments and a suggestion. Is it time to rename EnvVarGetter to ...
10 years, 5 months ago (2010-07-26 17:31:43 UTC) #2
Lei Zhang
On 2010/07/26 17:31:43, Paweł Hajdan Jr. wrote: > Drive-by with some test comments and a ...
10 years, 5 months ago (2010-07-26 20:43:06 UTC) #3
tfarina
Sorry for the delay, I was pretty sick. http://codereview.chromium.org/3043018/diff/4001/5007 File chrome/browser/shell_integration_unittest.cc (right): http://codereview.chromium.org/3043018/diff/4001/5007#newcode57 chrome/browser/shell_integration_unittest.cc:57: NOTIMPLEMENTED(); ...
10 years, 4 months ago (2010-07-29 23:34:49 UTC) #4
Lei Zhang
LGTM with small modification below. Glad you're feeling better. http://codereview.chromium.org/3043018/diff/11001/12004 File base/env_var_unittest.cc (right): http://codereview.chromium.org/3043018/diff/11001/12004#newcode53 base/env_var_unittest.cc:53: ...
10 years, 4 months ago (2010-07-30 20:12:29 UTC) #5
tfarina
http://codereview.chromium.org/3043018/diff/11001/12004 File base/env_var_unittest.cc (right): http://codereview.chromium.org/3043018/diff/11001/12004#newcode53 base/env_var_unittest.cc:53: EXPECT_TRUE(env->UnSetEnv(kFooUpper)); On 2010/07/30 20:12:30, Lei Zhang wrote: > Shouldn't ...
10 years, 4 months ago (2010-07-31 00:43:58 UTC) #6
tfarina
On 2010/07/30 20:12:29, Lei Zhang wrote: > LGTM with small modification below. > Committing now... ...
10 years, 4 months ago (2010-07-31 00:47:14 UTC) #7
viettrungluu
Random after-the-fact drive-by (of only one file). http://codereview.chromium.org/3043018/diff/22001/23009 File chrome/plugin/plugin_main_mac.mm (right): http://codereview.chromium.org/3043018/diff/22001/23009#newcode28 chrome/plugin/plugin_main_mac.mm:28: int suffix_offset ...
10 years, 4 months ago (2010-07-31 01:50:02 UTC) #8
viettrungluu
10 years, 4 months ago (2010-08-03 06:02:13 UTC) #9
http://codereview.chromium.org/3043018/diff/22001/23003
File base/env_var.h (right):

http://codereview.chromium.org/3043018/diff/22001/23003#newcode43
base/env_var.h:43: virtual bool UnSetEnv(const char* variable_name) = 0;
Even more after-the-fact drive-by nit: "unset" is a single word, so it should be
"UnsetEnv" (no capital 'S').

Powered by Google App Engine
This is Rietveld 408576698