Chromium Code Reviews| Index: remoting/host/host_config.h |
| diff --git a/remoting/host/host_config.h b/remoting/host/host_config.h |
| index 8befb0ede19ad60bce573d1e4d9f08aaa75df721..4bb4197b32dd6c25e3e3951affbf67b099dfa0af 100644 |
| --- a/remoting/host/host_config.h |
| +++ b/remoting/host/host_config.h |
| @@ -9,6 +9,10 @@ |
| #include "base/basictypes.h" |
| +namespace base { |
| +class DictionaryValue; |
| +} // namespace base |
| + |
| namespace remoting { |
| // Following constants define names for configuration parameters. |
| @@ -60,6 +64,11 @@ class MutableHostConfig : public HostConfig { |
| const std::string& in_value) = 0; |
| virtual void SetBoolean(const std::string& path, bool in_value) = 0; |
| + // Copy configuration from specified |dictionary|. Returns false if the |
| + // |dictionary| contains some values that cannot be saved in the config. In |
| + // that all other values are still copied. |
|
Jamie
2012/08/13 23:44:31
s/that all/that case, all/?
Sergey Ulanov
2012/08/14 18:00:37
Done.
|
| + virtual bool CopyFrom(const base::DictionaryValue* dictionary) = 0; |
| + |
| // Saves changes. |
| virtual bool Save() = 0; |