| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/shell/browser/shell_devtools_manager_delegate.h" | 5 #include "content/shell/browser/shell_devtools_manager_delegate.h" |
| 6 | 6 |
| 7 #include <stdint.h> | 7 #include <stdint.h> |
| 8 | 8 |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 #include "content/public/browser/devtools_socket_factory.h" | 24 #include "content/public/browser/devtools_socket_factory.h" |
| 25 #include "content/public/browser/favicon_status.h" | 25 #include "content/public/browser/favicon_status.h" |
| 26 #include "content/public/browser/navigation_entry.h" | 26 #include "content/public/browser/navigation_entry.h" |
| 27 #include "content/public/browser/render_view_host.h" | 27 #include "content/public/browser/render_view_host.h" |
| 28 #include "content/public/browser/web_contents.h" | 28 #include "content/public/browser/web_contents.h" |
| 29 #include "content/public/common/content_switches.h" | 29 #include "content/public/common/content_switches.h" |
| 30 #include "content/public/common/url_constants.h" | 30 #include "content/public/common/url_constants.h" |
| 31 #include "content/public/common/user_agent.h" | 31 #include "content/public/common/user_agent.h" |
| 32 #include "content/shell/browser/shell.h" | 32 #include "content/shell/browser/shell.h" |
| 33 #include "content/shell/common/shell_content_client.h" | 33 #include "content/shell/common/shell_content_client.h" |
| 34 #include "grit/shell_resources.h" | 34 #include "content/shell/grit/shell_resources.h" |
| 35 #include "net/base/net_errors.h" | 35 #include "net/base/net_errors.h" |
| 36 #include "net/log/net_log_source.h" | 36 #include "net/log/net_log_source.h" |
| 37 #include "net/socket/tcp_server_socket.h" | 37 #include "net/socket/tcp_server_socket.h" |
| 38 #include "ui/base/resource/resource_bundle.h" | 38 #include "ui/base/resource/resource_bundle.h" |
| 39 | 39 |
| 40 #if defined(OS_ANDROID) | 40 #if defined(OS_ANDROID) |
| 41 #include "content/public/browser/android/devtools_auth.h" | 41 #include "content/public/browser/android/devtools_auth.h" |
| 42 #include "net/socket/unix_domain_server_socket_posix.h" | 42 #include "net/socket/unix_domain_server_socket_posix.h" |
| 43 #endif | 43 #endif |
| 44 | 44 |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 201 IDR_CONTENT_SHELL_DEVTOOLS_DISCOVERY_PAGE).as_string(); | 201 IDR_CONTENT_SHELL_DEVTOOLS_DISCOVERY_PAGE).as_string(); |
| 202 #endif | 202 #endif |
| 203 } | 203 } |
| 204 | 204 |
| 205 std::string ShellDevToolsManagerDelegate::GetFrontendResource( | 205 std::string ShellDevToolsManagerDelegate::GetFrontendResource( |
| 206 const std::string& path) { | 206 const std::string& path) { |
| 207 return content::DevToolsFrontendHost::GetFrontendResource(path).as_string(); | 207 return content::DevToolsFrontendHost::GetFrontendResource(path).as_string(); |
| 208 } | 208 } |
| 209 | 209 |
| 210 } // namespace content | 210 } // namespace content |
| OLD | NEW |