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

Unified Diff: ash/common/devtools/ash_devtools_dom_agent.h

Issue 2468803002: [DevTools] migrate InspectorDOMAgent to new style (Closed)
Patch Set: addressed comments and rebased Created 4 years, 1 month 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 | « no previous file | ash/common/devtools/ash_devtools_dom_agent.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/devtools/ash_devtools_dom_agent.h
diff --git a/ash/common/devtools/ash_devtools_dom_agent.h b/ash/common/devtools/ash_devtools_dom_agent.h
index 3bb0dd016db9de0d34290c7d63c486693850f842..35e47c63255654dd27be7b41de62f46b0837b035 100644
--- a/ash/common/devtools/ash_devtools_dom_agent.h
+++ b/ash/common/devtools/ash_devtools_dom_agent.h
@@ -22,10 +22,9 @@ class AshDevToolsDOMAgent : public ui::devtools::UiDevToolsBaseAgent<
std::unique_ptr<ui::devtools::protocol::DOM::Node> BuildInitialTree();
// DOM::Backend
- void enable(ui::devtools::protocol::ErrorString* error) override {}
- void disable(ui::devtools::protocol::ErrorString* error) override {}
- void getDocument(
- ui::devtools::protocol::ErrorString* error,
+ ui::devtools::protocol::Response enable() override;
+ ui::devtools::protocol::Response disable() override;
+ ui::devtools::protocol::Response getDocument(
std::unique_ptr<ui::devtools::protocol::DOM::Node>* out_root) override;
ash::WmShell* shell_;
« no previous file with comments | « no previous file | ash/common/devtools/ash_devtools_dom_agent.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698