summaryrefslogtreecommitdiff
path: root/key_value_store.h
diff options
context:
space:
mode:
authorPaul Stewart <pstew@chromium.org>2012-03-26 07:13:51 -0700
committerGerrit <chrome-bot@google.com>2012-03-26 12:23:44 -0700
commit88125fbf2ea645ad213dd00860425da6af6a422a (patch)
tree938961c0828d54d26dad63fb7428ea27631c7454 /key_value_store.h
parent1c1152030c1bab9f91450b508777feac8c162e60 (diff)
downloadshill-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.h2
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,