Index: chrome/browser/ui/webui/inspect_ui.h |
diff --git a/chrome/browser/ui/webui/inspect_ui.h b/chrome/browser/ui/webui/inspect_ui.h |
index 9faee68f28267e87c740da3700196799ad58a239..e44f85ba24c7b1c47fb6706e128111ea534a53e1 100644 |
--- a/chrome/browser/ui/webui/inspect_ui.h |
+++ b/chrome/browser/ui/webui/inspect_ui.h |
@@ -22,6 +22,10 @@ class Value; |
class ListValue; |
} |
+namespace content { |
+class DevToolsAgentHost; |
+} |
+ |
class Browser; |
class DevToolsTargetsUIHandler; |
class DevToolsTargetImpl; |
@@ -71,8 +75,9 @@ class InspectUI : public content::WebUIController, |
DevToolsTargetsUIHandler* FindTargetHandler( |
const std::string& source_id); |
- DevToolsTargetImpl* FindTarget(const std::string& source_id, |
- const std::string& target_id); |
+ scoped_refptr<content::DevToolsAgentHost> FindTarget( |
+ const std::string& source_id, |
+ const std::string& target_id); |
void PopulateTargets(const std::string& source_id, |
const base::ListValue& targets); |