| OLD | NEW |
| 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_HOST_CONFIG_H_ | 5 #ifndef REMOTING_HOST_HOST_CONFIG_H_ |
| 6 #define REMOTING_HOST_HOST_CONFIG_H_ | 6 #define REMOTING_HOST_HOST_CONFIG_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | |
| 11 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 12 | 11 |
| 13 namespace base { | 12 namespace base { |
| 14 class DictionaryValue; | 13 class DictionaryValue; |
| 15 class FilePath; | 14 class FilePath; |
| 16 } // namespace base | 15 } // namespace base |
| 17 | 16 |
| 18 namespace remoting { | 17 namespace remoting { |
| 19 | 18 |
| 20 // Following constants define names for configuration parameters. | 19 // Following constants define names for configuration parameters. |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 | 53 |
| 55 // Helpers for loading/saving host configurations from/to files. | 54 // Helpers for loading/saving host configurations from/to files. |
| 56 scoped_ptr<base::DictionaryValue> HostConfigFromJsonFile( | 55 scoped_ptr<base::DictionaryValue> HostConfigFromJsonFile( |
| 57 const base::FilePath& config_file); | 56 const base::FilePath& config_file); |
| 58 bool HostConfigToJsonFile(const base::DictionaryValue& host_config, | 57 bool HostConfigToJsonFile(const base::DictionaryValue& host_config, |
| 59 const base::FilePath& config_file); | 58 const base::FilePath& config_file); |
| 60 | 59 |
| 61 } // namespace remoting | 60 } // namespace remoting |
| 62 | 61 |
| 63 #endif // REMOTING_HOST_HOST_CONFIG_H_ | 62 #endif // REMOTING_HOST_HOST_CONFIG_H_ |
| OLD | NEW |