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

Unified Diff: content/public/browser/devtools_manager_delegate.h

Issue 2272213003: DevTools: remove devtools_discovery (merged into content). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: build fix Created 4 years, 4 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
« no previous file with comments | « content/public/browser/devtools_agent_host.h ('k') | content/shell/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 4d929292ac5b42663495fe28193414788bf347ec..67c00260569e91e64ec8c1a87b3f3c243fcda4fc 100644
--- a/content/public/browser/devtools_manager_delegate.h
+++ b/content/public/browser/devtools_manager_delegate.h
@@ -6,6 +6,8 @@
#define CONTENT_PUBLIC_BROWSER_DEVTOOLS_MANAGER_DELEGATE_H_
#include <string>
+#include "base/memory/ref_counted.h"
+#include "url/gurl.h"
namespace base {
class DictionaryValue;
@@ -33,6 +35,9 @@ class DevToolsManagerDelegate {
// Returns DevToolsAgentHost title to use for given |host| target.
virtual std::string GetTargetTitle(RenderFrameHost* host) = 0;
+ // Creates new inspectable target given the |url|.
+ virtual scoped_refptr<DevToolsAgentHost> CreateNewTarget(const GURL& url) = 0;
+
// Result ownership is passed to the caller.
virtual base::DictionaryValue* HandleCommand(
DevToolsAgentHost* agent_host,
« no previous file with comments | « content/public/browser/devtools_agent_host.h ('k') | content/shell/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698