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

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

Issue 2462843002: Update ash to use new devtools base agent (Closed)
Patch Set: Rename devtools_dom_agent.* to ash_devtools_dom_agent.* 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 | « ash/BUILD.gn ('k') | 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/devtools_dom_agent.h b/ash/common/devtools/ash_devtools_dom_agent.h
similarity index 71%
rename from ash/common/devtools/devtools_dom_agent.h
rename to ash/common/devtools/ash_devtools_dom_agent.h
index 0692300e2605298a4899a171c69d360ab81985d1..3bb0dd016db9de0d34290c7d63c486693850f842 100644
--- a/ash/common/devtools/devtools_dom_agent.h
+++ b/ash/common/devtools/ash_devtools_dom_agent.h
@@ -2,16 +2,18 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef ASH_COMMON_DEVTOOLS_DEVTOOLS_DOM_AGENT_H_
-#define ASH_COMMON_DEVTOOLS_DEVTOOLS_DOM_AGENT_H_
+#ifndef ASH_COMMON_DEVTOOLS_ASH_DEVTOOLS_DOM_AGENT_H_
+#define ASH_COMMON_DEVTOOLS_ASH_DEVTOOLS_DOM_AGENT_H_
#include "ash/common/wm_shell.h"
#include "components/ui_devtools/DOM.h"
+#include "components/ui_devtools/devtools_base_agent.h"
namespace ash {
namespace devtools {
-class AshDevToolsDOMAgent : public ui::devtools::protocol::DOM::Backend {
+class AshDevToolsDOMAgent : public ui::devtools::UiDevToolsBaseAgent<
+ ui::devtools::protocol::DOM::Metainfo> {
public:
explicit AshDevToolsDOMAgent(ash::WmShell* shell);
~AshDevToolsDOMAgent() override;
@@ -34,4 +36,4 @@ class AshDevToolsDOMAgent : public ui::devtools::protocol::DOM::Backend {
} // namespace devtools
} // namespace ash
-#endif // ASH_COMMON_DEVTOOLS_DEVTOOLS_DOM_AGENT_H_
+#endif // ASH_COMMON_DEVTOOLS_ASH_DEVTOOLS_DOM_AGENT_H_
« no previous file with comments | « ash/BUILD.gn ('k') | ash/common/devtools/ash_devtools_dom_agent.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698