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 92b656d3ad68f79467d629757c3ab358b8178968..51a4d73cc885e2dd0c9dc05ab49d1fc56a489100 100644 |
--- a/content/public/browser/devtools_manager_delegate.h |
+++ b/content/public/browser/devtools_manager_delegate.h |
@@ -5,6 +5,12 @@ |
#ifndef CONTENT_PUBLIC_BROWSER_DEVTOOLS_MANAGER_DELEGATE_H_ |
#define CONTENT_PUBLIC_BROWSER_DEVTOOLS_MANAGER_DELEGATE_H_ |
+#include "base/memory/scoped_ptr.h" |
+ |
+namespace base { |
+class DictionaryValue; |
+} |
+ |
namespace content { |
class BrowserContext; |
@@ -17,6 +23,11 @@ class DevToolsManagerDelegate { |
// Opens the inspector for |agent_host|. |
virtual void Inspect(BrowserContext* browser_context, |
DevToolsAgentHost* agent_host) = 0; |
+ |
+ // Result ownership is passed to the caller. |
+ virtual base::DictionaryValue* HandleCommand( |
+ DevToolsAgentHost* agent_host, |
+ base::DictionaryValue* command) = 0; |
}; |
} // namespace content |