| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "chromecast/shell/browser/devtools/cast_dev_tools_delegate.h" | 5 #include "chromecast/browser/devtools/cast_dev_tools_delegate.h" |
| 6 | 6 |
| 7 #include "base/files/file_path.h" | 7 #include "base/files/file_path.h" |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "base/strings/utf_string_conversions.h" | 9 #include "base/strings/utf_string_conversions.h" |
| 10 #include "content/public/browser/devtools_agent_host.h" | 10 #include "content/public/browser/devtools_agent_host.h" |
| 11 #include "content/public/browser/devtools_target.h" | 11 #include "content/public/browser/devtools_target.h" |
| 12 #include "content/public/browser/favicon_status.h" | 12 #include "content/public/browser/favicon_status.h" |
| 13 #include "content/public/browser/navigation_entry.h" | 13 #include "content/public/browser/navigation_entry.h" |
| 14 #include "content/public/browser/render_view_host.h" | 14 #include "content/public/browser/render_view_host.h" |
| 15 #include "content/public/browser/web_contents.h" | 15 #include "content/public/browser/web_contents.h" |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 158 content::DevToolsAgentHost::GetOrCreateAll(); | 158 content::DevToolsAgentHost::GetOrCreateAll(); |
| 159 for (content::DevToolsAgentHost::List::iterator it = agents.begin(); | 159 for (content::DevToolsAgentHost::List::iterator it = agents.begin(); |
| 160 it != agents.end(); ++it) { | 160 it != agents.end(); ++it) { |
| 161 targets.push_back(new Target(*it)); | 161 targets.push_back(new Target(*it)); |
| 162 } | 162 } |
| 163 callback.Run(targets); | 163 callback.Run(targets); |
| 164 } | 164 } |
| 165 | 165 |
| 166 } // namespace shell | 166 } // namespace shell |
| 167 } // namespace chromecast | 167 } // namespace chromecast |
| OLD | NEW |