| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_JSON_HOST_CONFIG_H_ | 5 #ifndef REMOTING_HOST_JSON_HOST_CONFIG_H_ |
| 6 #define REMOTING_HOST_JSON_HOST_CONFIG_H_ | 6 #define REMOTING_HOST_JSON_HOST_CONFIG_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/file_path.h" | 10 #include "base/file_path.h" |
| 11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
| 12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 13 #include "remoting/host/in_memory_host_config.h" | 13 #include "remoting/host/in_memory_host_config.h" |
| 14 | 14 |
| 15 class Task; | |
| 16 | |
| 17 namespace base { | 15 namespace base { |
| 18 class MessageLoopProxy; | 16 class MessageLoopProxy; |
| 19 } // namespace base | 17 } // namespace base |
| 20 | 18 |
| 21 namespace remoting { | 19 namespace remoting { |
| 22 | 20 |
| 23 // JsonHostConfig implements MutableHostConfig for JSON file. | 21 // JsonHostConfig implements MutableHostConfig for JSON file. |
| 24 class JsonHostConfig : public InMemoryHostConfig { | 22 class JsonHostConfig : public InMemoryHostConfig { |
| 25 public: | 23 public: |
| 26 JsonHostConfig(const FilePath& pref_filename, | 24 JsonHostConfig(const FilePath& pref_filename, |
| (...skipping 10 matching lines...) Expand all Loading... |
| 37 | 35 |
| 38 FilePath filename_; | 36 FilePath filename_; |
| 39 scoped_refptr<base::MessageLoopProxy> message_loop_proxy_; | 37 scoped_refptr<base::MessageLoopProxy> message_loop_proxy_; |
| 40 | 38 |
| 41 DISALLOW_COPY_AND_ASSIGN(JsonHostConfig); | 39 DISALLOW_COPY_AND_ASSIGN(JsonHostConfig); |
| 42 }; | 40 }; |
| 43 | 41 |
| 44 } // namespace remoting | 42 } // namespace remoting |
| 45 | 43 |
| 46 #endif // REMOTING_HOST_JSON_HOST_CONFIG_H_ | 44 #endif // REMOTING_HOST_JSON_HOST_CONFIG_H_ |
| OLD | NEW |