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 #include "remoting/host/json_host_config.h" | 5 #include "remoting/host/json_host_config.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/file_util.h" | 8 #include "base/files/file_util.h" |
9 #include "base/files/important_file_writer.h" | 9 #include "base/files/important_file_writer.h" |
10 #include "base/json/json_reader.h" | 10 #include "base/json/json_reader.h" |
11 #include "base/json/json_writer.h" | 11 #include "base/json/json_writer.h" |
12 #include "base/location.h" | 12 #include "base/location.h" |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "base/values.h" | 14 #include "base/values.h" |
15 | 15 |
16 namespace remoting { | 16 namespace remoting { |
17 | 17 |
18 JsonHostConfig::JsonHostConfig(const base::FilePath& filename) | 18 JsonHostConfig::JsonHostConfig(const base::FilePath& filename) |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 return false; | 55 return false; |
56 } | 56 } |
57 | 57 |
58 base::DictionaryValue* dictionary = | 58 base::DictionaryValue* dictionary = |
59 static_cast<base::DictionaryValue*>(value.release()); | 59 static_cast<base::DictionaryValue*>(value.release()); |
60 values_.reset(dictionary); | 60 values_.reset(dictionary); |
61 return true; | 61 return true; |
62 } | 62 } |
63 | 63 |
64 } // namespace remoting | 64 } // namespace remoting |
OLD | NEW |