Index: content/browser/devtools/protocol/tethering_handler.cc |
diff --git a/content/browser/devtools/protocol/tethering_handler.cc b/content/browser/devtools/protocol/tethering_handler.cc |
index 62f56063404a204c275f7f7039fae226e52843ea..d20b325ca12e5a8c2a2c025ec406610bed915f4a 100644 |
--- a/content/browser/devtools/protocol/tethering_handler.cc |
+++ b/content/browser/devtools/protocol/tethering_handler.cc |
@@ -320,7 +320,8 @@ TetheringHandler::TetheringImpl* TetheringHandler::impl_ = nullptr; |
TetheringHandler::TetheringHandler( |
const CreateServerSocketCallback& socket_callback, |
scoped_refptr<base::SingleThreadTaskRunner> task_runner) |
- : socket_callback_(socket_callback), |
+ : DevToolsDomainHandler(Tethering::Metainfo::domainName), |
+ socket_callback_(socket_callback), |
task_runner_(task_runner), |
is_active_(false), |
weak_factory_(this) { |
@@ -338,10 +339,6 @@ void TetheringHandler::Wire(UberDispatcher* dispatcher) { |
Tethering::Dispatcher::wire(dispatcher, this); |
} |
-Response TetheringHandler::Disable() { |
- return Response::OK(); |
-} |
- |
void TetheringHandler::Accepted(uint16_t port, const std::string& name) { |
frontend_->Accepted(port, name); |
} |