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

Unified Diff: content/browser/devtools/protocol/io_handler.cc

Issue 2590293003: [DevTools] Rework DevToolsSession interaction with domain handlers. (Closed)
Patch Set: includes Created 4 years 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/browser/devtools/protocol/io_handler.h ('k') | content/browser/devtools/protocol/memory_handler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/devtools/protocol/io_handler.cc
diff --git a/content/browser/devtools/protocol/io_handler.cc b/content/browser/devtools/protocol/io_handler.cc
index f8228e160d662c48f6b23e35a9904a1efcede3c9..2b6a76d48e0381550de3cbd01d7e17c81da9f415 100644
--- a/content/browser/devtools/protocol/io_handler.cc
+++ b/content/browser/devtools/protocol/io_handler.cc
@@ -19,7 +19,8 @@ namespace content {
namespace protocol {
IOHandler::IOHandler(DevToolsIOContext* io_context)
- : io_context_(io_context)
+ : DevToolsDomainHandler(IO::Metainfo::domainName),
+ io_context_(io_context)
, weak_factory_(this) {}
IOHandler::~IOHandler() {}
@@ -29,10 +30,6 @@ void IOHandler::Wire(UberDispatcher* dispatcher) {
IO::Dispatcher::wire(dispatcher, this);
}
-Response IOHandler::Disable() {
- return Response::OK();
-}
-
void IOHandler::Read(
const std::string& handle,
Maybe<int> offset,
« no previous file with comments | « content/browser/devtools/protocol/io_handler.h ('k') | content/browser/devtools/protocol/memory_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698