diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-08 13:32:51 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-08 13:32:51 +0000 |
commit | ac7264cf34b514ff94fcce9a9c7dae0704cd4e10 (patch) | |
tree | 0a3a8e68e60c68b892a82d6c3ddbf9ef8902c187 /base/xdg_util_unittest.cc | |
parent | ae618ad90c5106ed686eedfde7c8f70f2df79b32 (diff) | |
download | chromium_src-ac7264cf34b514ff94fcce9a9c7dae0704cd4e10.zip chromium_src-ac7264cf34b514ff94fcce9a9c7dae0704cd4e10.tar.gz chromium_src-ac7264cf34b514ff94fcce9a9c7dae0704cd4e10.tar.bz2 |
base: Add SetEnv() to EnvVarGetter class and get rid of the some ifdefs.
(Note: This was a TODO)
BUG=None
TEST=included
Review URL: http://codereview.chromium.org/2843048
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51840 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/xdg_util_unittest.cc')
-rw-r--r-- | base/xdg_util_unittest.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/base/xdg_util_unittest.cc b/base/xdg_util_unittest.cc index d5ddc86..813242b 100644 --- a/base/xdg_util_unittest.cc +++ b/base/xdg_util_unittest.cc @@ -19,6 +19,7 @@ namespace { class MockEnvVarGetter : public base::EnvVarGetter { public: MOCK_METHOD2(GetEnv, bool(const char*, std::string* result)); + MOCK_METHOD2(SetEnv, void(const char*, const std::string& new_value)); }; const char* kGnome = "gnome"; |