Chromium Code Reviews| Index: remoting/host/json_host_config.h |
| diff --git a/remoting/host/json_host_config.h b/remoting/host/json_host_config.h |
| index e04238cef5855655836cbecaa18164b5f1cdff02..3e8f0fae177c19c3714d0b3dea20ff37364755b1 100644 |
| --- a/remoting/host/json_host_config.h |
| +++ b/remoting/host/json_host_config.h |
| @@ -8,7 +8,6 @@ |
| #include <string> |
| #include "base/file_path.h" |
| -#include "base/memory/ref_counted.h" |
| #include "base/memory/scoped_ptr.h" |
|
Lambros
2012/04/06 22:26:46
nit: Move scoped_ptr.h from here into .cc file.
Sergey Ulanov
2012/04/06 22:32:53
Done.
|
| #include "remoting/host/in_memory_host_config.h" |
| @@ -21,20 +20,16 @@ namespace remoting { |
| // JsonHostConfig implements MutableHostConfig for JSON file. |
| class JsonHostConfig : public InMemoryHostConfig { |
| public: |
| - JsonHostConfig(const FilePath& pref_filename, |
| - base::MessageLoopProxy* file_message_loop_proxy); |
| + JsonHostConfig(const FilePath& filename); |
| virtual ~JsonHostConfig(); |
| virtual bool Read(); |
| // MutableHostConfig interface. |
| - virtual void Save() OVERRIDE; |
| + virtual bool Save() OVERRIDE; |
| private: |
| - void DoWrite(); |
| - |
| FilePath filename_; |
| - scoped_refptr<base::MessageLoopProxy> message_loop_proxy_; |
| DISALLOW_COPY_AND_ASSIGN(JsonHostConfig); |
| }; |