Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1081)

Unified Diff: components/devtools_discovery/devtools_discovery_manager.h

Issue 2119063002: Add commands to manage tabs and contexts to Browser Domain (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix name Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..023e067a035e7993ee9499343e765130ae8a8dd7 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> HandleNewTargetCommand(
+ base::DictionaryValue* command_dict);
+
private:
friend struct base::DefaultSingletonTraits<DevToolsDiscoveryManager>;

Powered by Google App Engine
This is Rietveld 408576698