Index: ash/common/devtools/ash_devtools_dom_agent.cc |
diff --git a/ash/common/devtools/ash_devtools_dom_agent.cc b/ash/common/devtools/ash_devtools_dom_agent.cc |
index 402125e81da9284619f6d39ad5b8ddd4ed171aef..8ae72bba5bf9cd4bd7b1528c8be21be96b52a473 100644 |
--- a/ash/common/devtools/ash_devtools_dom_agent.cc |
+++ b/ash/common/devtools/ash_devtools_dom_agent.cc |
@@ -98,10 +98,18 @@ AshDevToolsDOMAgent::BuildInitialTree() { |
return BuildNode("root", nullptr, std::move(children)); |
} |
-void AshDevToolsDOMAgent::getDocument( |
- ui::devtools::protocol::ErrorString* error, |
+ui::devtools::protocol::Response AshDevToolsDOMAgent::enable() { |
+ return ui::devtools::protocol::Response::OK(); |
+} |
+ |
+ui::devtools::protocol::Response AshDevToolsDOMAgent::disable() { |
+ return ui::devtools::protocol::Response::OK(); |
+} |
+ |
+ui::devtools::protocol::Response AshDevToolsDOMAgent::getDocument( |
std::unique_ptr<ui::devtools::protocol::DOM::Node>* out_root) { |
*out_root = BuildInitialTree(); |
+ return ui::devtools::protocol::Response::OK(); |
} |
} // namespace devtools |