diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-31 02:26:40 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-31 02:26:40 +0000 |
commit | a324a45fada4feccc9175b1ca37e3cf8be99148c (patch) | |
tree | 046c897cdd5187496b019a6d4427f8201354087e /base/xdg_util_unittest.cc | |
parent | c9c6f5cbd15124457b0fe77f03fda9e4c4855f48 (diff) | |
download | chromium_src-a324a45fada4feccc9175b1ca37e3cf8be99148c.zip chromium_src-a324a45fada4feccc9175b1ca37e3cf8be99148c.tar.gz chromium_src-a324a45fada4feccc9175b1ca37e3cf8be99148c.tar.bz2 |
Revert 54418 - 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
TBR=tfarina@chromium.org
Review URL: http://codereview.chromium.org/2847092
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54422 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/xdg_util_unittest.cc')
-rw-r--r-- | base/xdg_util_unittest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/base/xdg_util_unittest.cc b/base/xdg_util_unittest.cc index 24671b1..b821921 100644 --- a/base/xdg_util_unittest.cc +++ b/base/xdg_util_unittest.cc @@ -4,10 +4,11 @@ #include "base/xdg_util.h" -#include "base/env_var.h" #include "testing/gmock/include/gmock/gmock.h" #include "testing/gtest/include/gtest/gtest.h" +#include "base/env_var.h" + using ::testing::_; using ::testing::Return; using ::testing::SetArgumentPointee; @@ -19,7 +20,6 @@ class MockEnvVarGetter : public base::EnvVarGetter { public: MOCK_METHOD2(GetEnv, bool(const char*, std::string* result)); MOCK_METHOD2(SetEnv, bool(const char*, const std::string& new_value)); - MOCK_METHOD1(UnSetEnv, bool(const char*)); }; const char* kGnome = "gnome"; |