| Index: remoting/host/host_config.h
|
| diff --git a/remoting/host/host_config.h b/remoting/host/host_config.h
|
| index 8befb0ede19ad60bce573d1e4d9f08aaa75df721..ec8162cbad5461114b38519958f71323b90d9b54 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 case, all other values are still copied.
|
| + virtual bool CopyFrom(const base::DictionaryValue* dictionary) = 0;
|
| +
|
| // Saves changes.
|
| virtual bool Save() = 0;
|
|
|
|
|