| 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/shell/shell_devtools_delegate.h" | 5 #include "content/shell/shell_devtools_delegate.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "content/public/browser/devtools_http_handler.h" | 8 #include "content/public/browser/devtools_http_handler.h" |
| 9 #include "content/public/browser/web_contents.h" | 9 #include "content/public/browser/web_contents.h" |
| 10 #include "content/public/common/url_constants.h" | 10 #include "content/public/common/url_constants.h" |
| 11 #include "content/shell/shell.h" | 11 #include "content/shell/shell.h" |
| 12 #include "grit/shell_resources.h" | 12 #include "grit/shell_resources.h" |
| 13 #include "net/base/tcp_listen_socket.h" | 13 #include "net/socket/tcp_listen_socket.h" |
| 14 #include "ui/base/resource/resource_bundle.h" | 14 #include "ui/base/resource/resource_bundle.h" |
| 15 | 15 |
| 16 #if defined(OS_ANDROID) | 16 #if defined(OS_ANDROID) |
| 17 #include "content/public/browser/android/devtools_auth.h" | 17 #include "content/public/browser/android/devtools_auth.h" |
| 18 #include "net/base/unix_domain_socket_posix.h" | 18 #include "net/socket/unix_domain_socket_posix.h" |
| 19 | 19 |
| 20 namespace { | 20 namespace { |
| 21 const char kSocketName[] = "content_shell_devtools_remote"; | 21 const char kSocketName[] = "content_shell_devtools_remote"; |
| 22 } | 22 } |
| 23 #endif | 23 #endif |
| 24 | 24 |
| 25 namespace content { | 25 namespace content { |
| 26 | 26 |
| 27 ShellDevToolsDelegate::ShellDevToolsDelegate(BrowserContext* browser_context, | 27 ShellDevToolsDelegate::ShellDevToolsDelegate(BrowserContext* browser_context, |
| 28 int port) | 28 int port) |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 ShellDevToolsDelegate::GetTargetType(RenderViewHost*) { | 77 ShellDevToolsDelegate::GetTargetType(RenderViewHost*) { |
| 78 return kTargetTypeTab; | 78 return kTargetTypeTab; |
| 79 } | 79 } |
| 80 | 80 |
| 81 std::string ShellDevToolsDelegate::GetViewDescription( | 81 std::string ShellDevToolsDelegate::GetViewDescription( |
| 82 content::RenderViewHost*) { | 82 content::RenderViewHost*) { |
| 83 return ""; | 83 return ""; |
| 84 } | 84 } |
| 85 | 85 |
| 86 } // namespace content | 86 } // namespace content |
| OLD | NEW |