summaryrefslogtreecommitdiffstats
path: root/net/proxy/proxy_config_service_linux_unittest.cc
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-31 00:48:10 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-31 00:48:10 +0000
commited455379daa50edcefa37dd5670c12e84dce72f6 (patch)
treec817a2deb91307a573610c8bf505631d032273fc /net/proxy/proxy_config_service_linux_unittest.cc
parente5047ff99b92662f3e3bda31650b16506ae5ad55 (diff)
downloadchromium_src-ed455379daa50edcefa37dd5670c12e84dce72f6.zip
chromium_src-ed455379daa50edcefa37dd5670c12e84dce72f6.tar.gz
chromium_src-ed455379daa50edcefa37dd5670c12e84dce72f6.tar.bz2
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> Review URL: http://codereview.chromium.org/3043018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54418 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/proxy/proxy_config_service_linux_unittest.cc')
-rw-r--r--net/proxy/proxy_config_service_linux_unittest.cc7
1 files changed, 6 insertions, 1 deletions
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;
}