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

Side by Side Diff: remoting/host/in_memory_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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef REMOTING_HOST_IN_MEMORY_HOST_CONFIG_H_ 5 #ifndef REMOTING_HOST_IN_MEMORY_HOST_CONFIG_H_
6 #define REMOTING_HOST_IN_MEMORY_HOST_CONFIG_H_ 6 #define REMOTING_HOST_IN_MEMORY_HOST_CONFIG_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 16 matching lines...) Expand all
27 // MutableHostConfig interface. 27 // MutableHostConfig interface.
28 virtual bool GetString(const std::string& path, 28 virtual bool GetString(const std::string& path,
29 std::string* out_value) const OVERRIDE; 29 std::string* out_value) const OVERRIDE;
30 virtual bool GetBoolean(const std::string& path, 30 virtual bool GetBoolean(const std::string& path,
31 bool* out_value) const OVERRIDE; 31 bool* out_value) const OVERRIDE;
32 32
33 virtual void SetString(const std::string& path, 33 virtual void SetString(const std::string& path,
34 const std::string& in_value) OVERRIDE; 34 const std::string& in_value) OVERRIDE;
35 virtual void SetBoolean(const std::string& path, bool in_value) OVERRIDE; 35 virtual void SetBoolean(const std::string& path, bool in_value) OVERRIDE;
36 36
37 virtual bool CopyFrom(const base::DictionaryValue* dictionary) OVERRIDE;
38
37 virtual bool Save() OVERRIDE; 39 virtual bool Save() OVERRIDE;
38 40
39 protected: 41 protected:
40 scoped_ptr<base::DictionaryValue> values_; 42 scoped_ptr<base::DictionaryValue> values_;
41 43
42 private: 44 private:
43 DISALLOW_COPY_AND_ASSIGN(InMemoryHostConfig); 45 DISALLOW_COPY_AND_ASSIGN(InMemoryHostConfig);
44 }; 46 };
45 47
46 } // namespace remoting 48 } // namespace remoting
47 49
48 #endif // REMOTING_HOST_IN_MEMORY_HOST_CONFIG_H_ 50 #endif // REMOTING_HOST_IN_MEMORY_HOST_CONFIG_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698