| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_manager_impl.h" | 5 #include "content/browser/debugger/devtools_manager_impl.h" |
| 6 | 6 |
| 7 #include <vector> | 7 #include <vector> |
| 8 | 8 |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/message_loop.h" | 10 #include "base/message_loop.h" |
| 11 #include "content/browser/browsing_instance.h" | |
| 12 #include "content/browser/child_process_security_policy.h" | 11 #include "content/browser/child_process_security_policy.h" |
| 13 #include "content/browser/debugger/devtools_netlog_observer.h" | 12 #include "content/browser/debugger/devtools_netlog_observer.h" |
| 14 #include "content/browser/debugger/render_view_devtools_agent_host.h" | 13 #include "content/browser/debugger/render_view_devtools_agent_host.h" |
| 15 #include "content/browser/renderer_host/render_view_host.h" | 14 #include "content/browser/renderer_host/render_view_host.h" |
| 16 #include "content/browser/tab_contents/tab_contents.h" | 15 #include "content/browser/tab_contents/tab_contents.h" |
| 17 #include "content/public/browser/browser_thread.h" | 16 #include "content/public/browser/browser_thread.h" |
| 18 #include "content/public/browser/devtools_client_host.h" | 17 #include "content/public/browser/devtools_client_host.h" |
| 19 #include "content/public/browser/devtools_agent_host_registry.h" | 18 #include "content/public/browser/devtools_agent_host_registry.h" |
| 20 #include "googleurl/src/gurl.h" | 19 #include "googleurl/src/gurl.h" |
| 21 | 20 |
| (...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 286 it != agent_to_client_host_.end(); ++it) { | 285 it != agent_to_client_host_.end(); ++it) { |
| 287 agents.push_back(it->first); | 286 agents.push_back(it->first); |
| 288 } | 287 } |
| 289 for (std::vector<DevToolsAgentHost*>::iterator it = agents.begin(); | 288 for (std::vector<DevToolsAgentHost*>::iterator it = agents.begin(); |
| 290 it != agents.end(); ++it) { | 289 it != agents.end(); ++it) { |
| 291 UnregisterDevToolsClientHostFor(*it); | 290 UnregisterDevToolsClientHostFor(*it); |
| 292 } | 291 } |
| 293 } | 292 } |
| 294 | 293 |
| 295 } // namespace content | 294 } // namespace content |
| OLD | NEW |