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

Unified Diff: remoting/host/json_host_config.h

Issue 10007048: Cleanup and simplify HostConfig and JsonHostConfig. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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
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);
};

Powered by Google App Engine
This is Rietveld 408576698