Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(79)

Unified Diff: remoting/host/host_config.h

Issue 10824286: Fix DaemonControllerLinux::SetConfigAndStart() to reload config automatically. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | remoting/host/in_memory_host_config.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « no previous file | remoting/host/in_memory_host_config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698