Index: content/browser/devtools/devtools_agent_host.h |
diff --git a/content/browser/devtools/devtools_agent_host.h b/content/browser/devtools/devtools_agent_host.h |
index ae44862bf1dda1c9ca68b12beabecc8201311b8c..1bafdcd132479dae1adea877daa3b985e7adb6eb 100644 |
--- a/content/browser/devtools/devtools_agent_host.h |
+++ b/content/browser/devtools/devtools_agent_host.h |
@@ -29,7 +29,7 @@ class CONTENT_EXPORT DevToolsAgentHost { |
// Sends the message to the devtools agent hosted by this object. |
void Attach(); |
void Reattach(const std::string& saved_agent_state); |
- void Detach(); |
+ virtual void Detach(); |
void DipatchOnInspectorBackend(const std::string& message); |
void InspectElement(int x, int y); |
void AddMessageToConsole(ConsoleMessageLevel level, |
@@ -49,7 +49,7 @@ class CONTENT_EXPORT DevToolsAgentHost { |
virtual void NotifyClientAttaching() = 0; |
virtual void NotifyClientDetaching() = 0; |
- void NotifyCloseListener(); |
+ bool NotifyCloseListener(); |
CloseListener* close_listener_; |
}; |