Index: content/public/browser/devtools_manager_delegate.h |
diff --git a/content/public/browser/devtools_manager_delegate.h b/content/public/browser/devtools_manager_delegate.h |
index 69d2b06be4d429aa90838f6bb210452c54c1ab48..19c0dbefbb5c568e29a634a0f2a8746ea5f01734 100644 |
--- a/content/public/browser/devtools_manager_delegate.h |
+++ b/content/public/browser/devtools_manager_delegate.h |
@@ -51,9 +51,11 @@ class CONTENT_EXPORT DevToolsManagerDelegate { |
using CommandCallback = |
base::Callback<void(std::unique_ptr<base::DictionaryValue> response)>; |
+ // Handle async command, feed response to CommandCallback when it is ready. |
virtual bool HandleAsyncCommand(DevToolsAgentHost* agent_host, |
base::DictionaryValue* command, |
- CommandCallback callback); |
+ const CommandCallback& callback); |
+ |
// Should return discovery page HTML that should list available tabs |
// and provide attach links. |
virtual std::string GetDiscoveryPageHTML(); |