From 1d31be9d5238491a971fb2b5d9a70041f3997e5a Mon Sep 17 00:00:00 2001 From: "sergeyu@chromium.org" Date: Fri, 25 Jun 2010 01:54:52 +0000 Subject: Removed dependency on chrome/common. JSONReader and JSONWriter are used to read/write json file instead of JsonPrefStore. BUG=none TEST=unittests Review URL: http://codereview.chromium.org/2819026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50809 0039d316-1c4b-4281-b951-d872f2087c98 --- remoting/host/json_host_config.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'remoting/host/json_host_config.h') diff --git a/remoting/host/json_host_config.h b/remoting/host/json_host_config.h index ac10272..8d73e66 100644 --- a/remoting/host/json_host_config.h +++ b/remoting/host/json_host_config.h @@ -7,13 +7,13 @@ #include +#include "base/file_path.h" #include "base/lock.h" #include "base/ref_counted.h" #include "base/scoped_ptr.h" #include "remoting/host/host_config.h" -class FilePath; -class JsonPrefStore; +class DictionaryValue; class Task; namespace base { @@ -46,9 +46,10 @@ class JsonHostConfig : public MutableHostConfig { private: void DoWrite(); - // |lock_| must be locked whenever we access pref_store_; + // |lock_| must be locked whenever we access values_; Lock lock_; - scoped_ptr pref_store_; + FilePath filename_; + scoped_ptr values_; scoped_refptr message_loop_proxy_; DISALLOW_COPY_AND_ASSIGN(JsonHostConfig); -- cgit v1.1