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 <stddef.h> | 5 #include <stddef.h> |
6 #include <stdint.h> | 6 #include <stdint.h> |
7 | 7 |
8 #include <algorithm> | 8 #include <algorithm> |
9 #include <utility> | 9 #include <utility> |
10 | 10 |
11 #include "base/bind.h" | 11 #include "base/bind.h" |
12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
13 #include "base/files/file_util.h" | 13 #include "base/files/file_util.h" |
14 #include "base/json/json_writer.h" | 14 #include "base/json/json_writer.h" |
15 #include "base/location.h" | 15 #include "base/location.h" |
16 #include "base/logging.h" | 16 #include "base/logging.h" |
17 #include "base/memory/ref_counted_memory.h" | 17 #include "base/memory/ref_counted_memory.h" |
| 18 #include "base/message_loop/message_loop.h" |
18 #include "base/single_thread_task_runner.h" | 19 #include "base/single_thread_task_runner.h" |
19 #include "base/strings/string_number_conversions.h" | 20 #include "base/strings/string_number_conversions.h" |
20 #include "base/strings/string_util.h" | 21 #include "base/strings/string_util.h" |
21 #include "base/strings/stringprintf.h" | 22 #include "base/strings/stringprintf.h" |
22 #include "base/threading/thread.h" | 23 #include "base/threading/thread.h" |
23 #include "base/values.h" | 24 #include "base/values.h" |
24 #include "build/build_config.h" | 25 #include "build/build_config.h" |
25 #include "content/browser/devtools/devtools_http_handler.h" | 26 #include "content/browser/devtools/devtools_http_handler.h" |
26 #include "content/browser/devtools/devtools_manager.h" | 27 #include "content/browser/devtools/devtools_manager.h" |
27 #include "content/browser/devtools/grit/devtools_resources.h" | 28 #include "content/browser/devtools/grit/devtools_resources.h" |
(...skipping 868 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
896 id.c_str())); | 897 id.c_str())); |
897 std::string devtools_frontend_url = GetFrontendURLInternal(id, host); | 898 std::string devtools_frontend_url = GetFrontendURLInternal(id, host); |
898 dictionary->SetString( | 899 dictionary->SetString( |
899 kTargetDevtoolsFrontendUrlField, devtools_frontend_url); | 900 kTargetDevtoolsFrontendUrlField, devtools_frontend_url); |
900 } | 901 } |
901 | 902 |
902 return dictionary; | 903 return dictionary; |
903 } | 904 } |
904 | 905 |
905 } // namespace content | 906 } // namespace content |
OLD | NEW |