| 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 "content/browser/debugger/devtools_browser_target.h" | 5 #include "content/browser/devtools/devtools_browser_target.h" |
| 6 | 6 |
| 7 #include "base/json/json_reader.h" | 7 #include "base/json/json_reader.h" |
| 8 #include "base/json/json_writer.h" | 8 #include "base/json/json_writer.h" |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 11 #include "base/values.h" | 11 #include "base/values.h" |
| 12 | 12 |
| 13 | 13 |
| 14 namespace content { | 14 namespace content { |
| 15 | 15 |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 | 109 |
| 110 // Serialize response. | 110 // Serialize response. |
| 111 std::string json_response; | 111 std::string json_response; |
| 112 base::JSONWriter::WriteWithOptions(ret.get(), | 112 base::JSONWriter::WriteWithOptions(ret.get(), |
| 113 base::JSONWriter::OPTIONS_PRETTY_PRINT, | 113 base::JSONWriter::OPTIONS_PRETTY_PRINT, |
| 114 &json_response); | 114 &json_response); |
| 115 return json_response; | 115 return json_response; |
| 116 } | 116 } |
| 117 | 117 |
| 118 } // namespace content | 118 } // namespace content |
| OLD | NEW |