// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_TEST_BASE_DEVTOOLS_LISTENER_H_ #define CHROME_TEST_BASE_DEVTOOLS_LISTENER_H_ #include <map> #include <string> #include <vector> #include "base/memory/weak_ptr.h" #include "base/values.h" #include "content/public/browser/devtools_agent_host.h" #include "content/public/browser/devtools_agent_host_client.h" namespace coverage { // Collects code coverage from a WebContents, during a browser test // for example, using Chrome Devtools Protocol (CDP). class DevToolsListener : public content::DevToolsAgentHostClient { … }; } // namespace coverage #endif // CHROME_TEST_BASE_DEVTOOLS_LISTENER_H_