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

Unified Diff: ash/common/devtools/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/common/devtools/ash_devtools_dom_agent.cc ('k') | ash/common/devtools/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/devtools_dom_agent.h
diff --git a/ash/common/devtools/devtools_dom_agent.h b/ash/common/devtools/devtools_dom_agent.h
deleted file mode 100644
index 0692300e2605298a4899a171c69d360ab81985d1..0000000000000000000000000000000000000000
--- a/ash/common/devtools/devtools_dom_agent.h
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// 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_
-
-#include "ash/common/wm_shell.h"
-#include "components/ui_devtools/DOM.h"
-
-namespace ash {
-namespace devtools {
-
-class AshDevToolsDOMAgent : public ui::devtools::protocol::DOM::Backend {
- public:
- explicit AshDevToolsDOMAgent(ash::WmShell* shell);
- ~AshDevToolsDOMAgent() override;
-
- private:
- 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,
- std::unique_ptr<ui::devtools::protocol::DOM::Node>* out_root) override;
-
- ash::WmShell* shell_;
-
- DISALLOW_COPY_AND_ASSIGN(AshDevToolsDOMAgent);
-};
-
-} // namespace devtools
-} // namespace ash
-
-#endif // ASH_COMMON_DEVTOOLS_DEVTOOLS_DOM_AGENT_H_
« no previous file with comments | « ash/common/devtools/ash_devtools_dom_agent.cc ('k') | ash/common/devtools/devtools_dom_agent.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698