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

Unified Diff: content/browser/devtools/forwarding_agent_host.cc

Issue 2300703005: DevTools: merge devtools_http_handler into content - it is used in all the embedders anyways. (Closed)
Patch Set: for_landing! Created 4 years, 3 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: content/browser/devtools/forwarding_agent_host.cc
diff --git a/content/browser/devtools/forwarding_agent_host.cc b/content/browser/devtools/forwarding_agent_host.cc
index 599cf2ea038d6a67fb320898feda885e3f8c20f9..2166755d8c053fa469abf5663eb4d5c42b9dafd1 100644
--- a/content/browser/devtools/forwarding_agent_host.cc
+++ b/content/browser/devtools/forwarding_agent_host.cc
@@ -10,9 +10,10 @@
namespace content {
ForwardingAgentHost::ForwardingAgentHost(
- DevToolsExternalAgentProxyDelegate* delegate)
- : DevToolsAgentHostImpl(delegate->GetId()),
- delegate_(delegate) {
+ const std::string& id,
+ std::unique_ptr<DevToolsExternalAgentProxyDelegate> delegate)
+ : DevToolsAgentHostImpl(id),
+ delegate_(std::move(delegate)) {
}
ForwardingAgentHost::~ForwardingAgentHost() {
« no previous file with comments | « content/browser/devtools/forwarding_agent_host.h ('k') | content/browser/devtools/render_frame_devtools_agent_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698