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/devtools/devtools_http_handler_impl.h" | 5 #include "content/browser/devtools/devtools_http_handler_impl.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <utility> | 8 #include <utility> |
9 | 9 |
10 #include "base/bind.h" | 10 #include "base/bind.h" |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
12 #include "base/file_util.h" | 12 #include "base/file_util.h" |
13 #include "base/json/json_writer.h" | 13 #include "base/json/json_writer.h" |
14 #include "base/lazy_instance.h" | 14 #include "base/lazy_instance.h" |
15 #include "base/logging.h" | 15 #include "base/logging.h" |
16 #include "base/message_loop_proxy.h" | 16 #include "base/message_loop/message_loop_proxy.h" |
17 #include "base/stl_util.h" | 17 #include "base/stl_util.h" |
18 #include "base/string_number_conversions.h" | 18 #include "base/string_number_conversions.h" |
19 #include "base/strings/utf_string_conversions.h" | 19 #include "base/strings/utf_string_conversions.h" |
20 #include "base/threading/thread.h" | 20 #include "base/threading/thread.h" |
21 #include "base/values.h" | 21 #include "base/values.h" |
22 #include "content/browser/devtools/devtools_browser_target.h" | 22 #include "content/browser/devtools/devtools_browser_target.h" |
23 #include "content/browser/devtools/devtools_protocol.h" | 23 #include "content/browser/devtools/devtools_protocol.h" |
24 #include "content/browser/devtools/devtools_protocol_constants.h" | 24 #include "content/browser/devtools/devtools_protocol_constants.h" |
25 #include "content/browser/devtools/devtools_tracing_handler.h" | 25 #include "content/browser/devtools/devtools_tracing_handler.h" |
26 #include "content/browser/devtools/tethering_handler.h" | 26 #include "content/browser/devtools/tethering_handler.h" |
(...skipping 859 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
886 host.c_str(), | 886 host.c_str(), |
887 kPageUrlPrefix, | 887 kPageUrlPrefix, |
888 id.c_str())); | 888 id.c_str())); |
889 std::string devtools_frontend_url = GetFrontendURLInternal( | 889 std::string devtools_frontend_url = GetFrontendURLInternal( |
890 id.c_str(), | 890 id.c_str(), |
891 host); | 891 host); |
892 dictionary->SetString(kTargetDevtoolsFrontendUrlField, devtools_frontend_url); | 892 dictionary->SetString(kTargetDevtoolsFrontendUrlField, devtools_frontend_url); |
893 } | 893 } |
894 | 894 |
895 } // namespace content | 895 } // namespace content |
OLD | NEW |