| 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_http_handler_impl.h" | 5 #include "content/browser/debugger/devtools_http_handler_impl.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 #include "content/public/browser/browser_thread.h" | 22 #include "content/public/browser/browser_thread.h" |
| 23 #include "content/public/browser/devtools_agent_host_registry.h" | 23 #include "content/public/browser/devtools_agent_host_registry.h" |
| 24 #include "content/public/browser/devtools_client_host.h" | 24 #include "content/public/browser/devtools_client_host.h" |
| 25 #include "content/public/browser/devtools_http_handler_delegate.h" | 25 #include "content/public/browser/devtools_http_handler_delegate.h" |
| 26 #include "content/public/browser/devtools_manager.h" | 26 #include "content/public/browser/devtools_manager.h" |
| 27 #include "content/public/browser/favicon_status.h" | 27 #include "content/public/browser/favicon_status.h" |
| 28 #include "content/public/browser/navigation_entry.h" | 28 #include "content/public/browser/navigation_entry.h" |
| 29 #include "content/public/browser/render_process_host.h" | 29 #include "content/public/browser/render_process_host.h" |
| 30 #include "content/public/browser/render_view_host.h" | 30 #include "content/public/browser/render_view_host.h" |
| 31 #include "content/public/browser/render_widget_host.h" | 31 #include "content/public/browser/render_widget_host.h" |
| 32 #include "content/public/browser/web_contents_observer.h" | |
| 33 #include "content/public/common/content_client.h" | 32 #include "content/public/common/content_client.h" |
| 34 #include "googleurl/src/gurl.h" | 33 #include "googleurl/src/gurl.h" |
| 35 #include "grit/devtools_resources_map.h" | 34 #include "grit/devtools_resources_map.h" |
| 36 #include "net/base/escape.h" | 35 #include "net/base/escape.h" |
| 37 #include "net/base/io_buffer.h" | 36 #include "net/base/io_buffer.h" |
| 38 #include "net/server/http_server_request_info.h" | 37 #include "net/server/http_server_request_info.h" |
| 39 #include "net/url_request/url_request_context.h" | 38 #include "net/url_request/url_request_context.h" |
| 40 | 39 |
| 41 namespace content { | 40 namespace content { |
| 42 | 41 |
| (...skipping 548 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 591 RenderViewHost* DevToolsHttpHandlerImpl::GetBoundRenderViewHost(size_t id) { | 590 RenderViewHost* DevToolsHttpHandlerImpl::GetBoundRenderViewHost(size_t id) { |
| 592 return RenderViewHost::FromID(targets_[id].first, | 591 return RenderViewHost::FromID(targets_[id].first, |
| 593 targets_[id].second); | 592 targets_[id].second); |
| 594 } | 593 } |
| 595 | 594 |
| 596 void DevToolsHttpHandlerImpl::ResetRenderViewHostBinding() { | 595 void DevToolsHttpHandlerImpl::ResetRenderViewHostBinding() { |
| 597 targets_.clear(); | 596 targets_.clear(); |
| 598 } | 597 } |
| 599 | 598 |
| 600 } // namespace content | 599 } // namespace content |
| OLD | NEW |