Index: chromecast/common/chromecast_config.h |
diff --git a/chromecast/common/chromecast_config.h b/chromecast/common/chromecast_config.h |
index 5cd6a1ae06fccffa47a4b1abf8b378fa1f899ef9..23482c6be4d876fa4f3f7ca8d54d10b14a740003 100644 |
--- a/chromecast/common/chromecast_config.h |
+++ b/chromecast/common/chromecast_config.h |
@@ -37,18 +37,21 @@ class ChromecastConfig { |
// Saves configs into configuration file. |
void Save() const; |
- // Returns string value for key, if present. |
+ // Returns string value for |key|, if present. |
const std::string GetValue(const std::string& key) const; |
- // Returns integer value for key, if present. |
+ // Returns integer value for |key|, if present. |
const int GetIntValue(const std::string& key) const; |
- // Sets new string value for key. |
+ // Sets new string value for |key|. |
void SetValue(const std::string& key, const std::string& value) const; |
- // Sets new int value for key. |
+ // Sets new int value for |key|. |
void SetIntValue(const std::string& key, int value) const; |
+ // Whether or not a value has been set for |key|. |
+ bool HasValue(const std::string& key) const; |
+ |
scoped_refptr<base::SequencedWorkerPool> worker_pool() const { |
return worker_pool_; |
} |