Index: components/devtools_discovery/devtools_discovery_manager.h |
diff --git a/components/devtools_discovery/devtools_discovery_manager.h b/components/devtools_discovery/devtools_discovery_manager.h |
index 75657d46be6a32462680f60ab271d02da89ee56b..5cc84811bdd3c40a6b5a13b3d6daa62ebb1f2f73 100644 |
--- a/components/devtools_discovery/devtools_discovery_manager.h |
+++ b/components/devtools_discovery/devtools_discovery_manager.h |
@@ -10,6 +10,7 @@ |
#include "base/macros.h" |
#include "base/memory/singleton.h" |
+#include "base/values.h" |
#include "components/devtools_discovery/devtools_target_descriptor.h" |
namespace devtools_discovery { |
@@ -39,6 +40,10 @@ class DevToolsDiscoveryManager { |
DevToolsTargetDescriptor::List GetDescriptors(); |
std::unique_ptr<DevToolsTargetDescriptor> CreateNew(const GURL& url); |
+ // Handles Browser.newPage only. |
+ std::unique_ptr<base::DictionaryValue> MaybeHandleNewPageCommand( |
+ base::DictionaryValue* command_dict); |
+ |
private: |
friend struct base::DefaultSingletonTraits<DevToolsDiscoveryManager>; |