From fc586c7e48d90dac7963906bf34c8f6382b55846 Mon Sep 17 00:00:00 2001 From: "tfarina@chromium.org" Date: Sat, 31 Jul 2010 16:55:40 +0000 Subject: Reland r54418 - base: Add UnSetEnv function to EnvVarGetter API. This reverts commit 7ed083f6d2b1b0a09c8bf9470386ba3e38f2feed. It was reverted due to crbug.com/50663 started failing when I land this patch, so I'm relanding it now again. BUG=None TEST=trybots TBR=thestig@chromium.org Review URL: http://codereview.chromium.org/3043018 Review URL: http://codereview.chromium.org/3076020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54451 0039d316-1c4b-4281-b951-d872f2087c98 --- net/proxy/proxy_config_service_linux_unittest.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'net') diff --git a/net/proxy/proxy_config_service_linux_unittest.cc b/net/proxy/proxy_config_service_linux_unittest.cc index c43e207..30c3311 100644 --- a/net/proxy/proxy_config_service_linux_unittest.cc +++ b/net/proxy/proxy_config_service_linux_unittest.cc @@ -115,7 +115,12 @@ class MockEnvVarGetter : public base::EnvVarGetter { } virtual bool SetEnv(const char* variable_name, const std::string& new_value) { - NOTIMPLEMENTED(); + ADD_FAILURE(); + return false; + } + + virtual bool UnSetEnv(const char* variable_name) { + ADD_FAILURE(); return false; } -- cgit v1.1