| Index: remoting/host/json_host_config.cc
|
| diff --git a/remoting/host/json_host_config.cc b/remoting/host/json_host_config.cc
|
| index 97f1d74850dd6f5c8740d76b9f5e75e6ce170a7b..3bddb4ef30e15edded47f557f69631da59f29ecb 100644
|
| --- a/remoting/host/json_host_config.cc
|
| +++ b/remoting/host/json_host_config.cc
|
| @@ -50,7 +50,9 @@ void JsonHostConfig::Save() {
|
| void JsonHostConfig::DoWrite() {
|
| std::string file_content;
|
| base::AutoLock auto_lock(lock_);
|
| - base::JSONWriter::Write(values_.get(), true, &file_content);
|
| + base::JSONWriter::WriteWithOptions(values_.get(),
|
| + base::JSONWriter::OPTIONS_PRETTY_PRINT,
|
| + &file_content);
|
| // TODO(sergeyu): Move ImportantFileWriter to base and use it here.
|
| file_util::WriteFile(filename_, file_content.c_str(), file_content.size());
|
| }
|
|
|