chrome: Add DevTools protocol support (see issue #2969)

Testable with the following:
$ ceftests --enable-chrome-runtime --gtest_filter=DevToolsMessageTest.*
This commit is contained in:
Dmitry Azaraev
2021-03-18 13:17:33 -04:00
committed by Marshall Greenblatt
parent a17c59ce1d
commit 505bf24abb
8 changed files with 109 additions and 130 deletions

View File

@@ -10,7 +10,7 @@
#include "base/memory/weak_ptr.h"
class AlloyBrowserHostImpl;
class CefBrowserHostBase;
class CefDevToolsController;
class CefDevToolsFrontend;
@@ -23,7 +23,7 @@ class WebContents;
class CefDevToolsManager {
public:
// |inspected_browser| will outlive this object.
explicit CefDevToolsManager(AlloyBrowserHostImpl* inspected_browser);
explicit CefDevToolsManager(CefBrowserHostBase* inspected_browser);
~CefDevToolsManager();
// See CefBrowserHost methods of the same name for documentation.
@@ -52,7 +52,7 @@ class CefDevToolsManager {
bool EnsureController();
AlloyBrowserHostImpl* const inspected_browser_;
CefBrowserHostBase* const inspected_browser_;
// CefDevToolsFrontend will delete itself when the frontend WebContents is
// destroyed.