diff options
author | Paul Stewart <pstew@chromium.org> | 2012-03-26 07:13:51 -0700 |
---|---|---|
committer | Gerrit <chrome-bot@google.com> | 2012-03-26 12:23:44 -0700 |
commit | 88125fbf2ea645ad213dd00860425da6af6a422a (patch) | |
tree | 938961c0828d54d26dad63fb7428ea27631c7454 /key_value_store.h | |
parent | 1c1152030c1bab9f91450b508777feac8c162e60 (diff) | |
download | shill-88125fbf2ea645ad213dd00860425da6af6a422a.tar.gz |
shill: key_value_store: Implement "Remove"
BUG=chromium-os:28303
TEST=New unit tests
Change-Id: I62836142eed1fd69ec71039c5556fe8f31d16b59
Reviewed-on: https://gerrit.chromium.org/gerrit/19068
Commit-Ready: Paul Stewart <pstew@chromium.org>
Reviewed-by: Paul Stewart <pstew@chromium.org>
Tested-by: Paul Stewart <pstew@chromium.org>
Diffstat (limited to 'key_value_store.h')
-rw-r--r-- | key_value_store.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/key_value_store.h b/key_value_store.h index f5f0ba06..68db8bc2 100644 --- a/key_value_store.h +++ b/key_value_store.h @@ -41,6 +41,8 @@ class KeyValueStore { void SetString(const std::string& name, const std::string& value); void SetUint(const std::string &name, uint32 value); + void RemoveString(const std::string &name); + // If |name| is in this store returns its value, otherwise returns // |default_value|. std::string LookupString(const std::string &name, |