#include "components/performance_manager/public/performance_manager.h"
#include <utility>
#include "base/run_loop.h"
#include "base/test/bind.h"
#include "components/performance_manager/graph/frame_node_impl.h"
#include "components/performance_manager/performance_manager_tab_helper.h"
#include "components/performance_manager/public/graph/frame_node.h"
#include "components/performance_manager/public/graph/page_node.h"
#include "components/performance_manager/public/render_frame_host_proxy.h"
#include "components/performance_manager/test_support/performance_manager_browsertest_harness.h"
#include "components/performance_manager/test_support/run_in_graph.h"
#include "content/public/browser/browser_task_traits.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/render_frame_host.h"
#include "content/public/test/browser_test.h"
#include "content/public/test/content_browser_test_utils.h"
#include "content/public/test/fenced_frame_test_util.h"
#include "content/shell/browser/shell.h"
#include "net/test/embedded_test_server/embedded_test_server.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/common/features.h"
#include "url/origin.h"
namespace performance_manager {
PerformanceManagerBrowserTest;
IN_PROC_BROWSER_TEST_F(PerformanceManagerBrowserTest,
GetFrameNodeForRenderFrameHost) { … }
IN_PROC_BROWSER_TEST_F(PerformanceManagerBrowserTest, OpenerTrackingWorks) { … }
namespace {
class WebRTCUsageChangeWaiter : public PageNode::ObserverDefaultImpl { … };
}
IN_PROC_BROWSER_TEST_F(PerformanceManagerBrowserTest, UsesWebRTC) { … }
namespace {
MATCHER_P(IsOpaqueDerivedFrom,
base_origin,
"is opaque derived from " + base_origin.GetDebugString()) { … }
}
IN_PROC_BROWSER_TEST_F(PerformanceManagerBrowserTest, OriginAboutBlankFrame) { … }
class PerformanceManagerFencedFrameBrowserTest
: public PerformanceManagerBrowserTest { … };
IN_PROC_BROWSER_TEST_F(PerformanceManagerFencedFrameBrowserTest,
NoParentFrameNode) { … }
}