#include <vector>
#include "base/command_line.h"
#include "base/memory/raw_ptr.h"
#include "base/time/time.h"
#include "content/public/browser/overlay_window.h"
#include "content/public/browser/video_picture_in_picture_window_controller.h"
#include "content/public/browser/web_contents_delegate.h"
#include "content/public/common/content_switches.h"
#include "content/public/test/browser_test.h"
#include "content/public/test/browser_test_utils.h"
#include "content/public/test/content_browser_test.h"
#include "content/public/test/content_browser_test_content_browser_client.h"
#include "content/public/test/content_browser_test_utils.h"
#include "content/shell/browser/shell.h"
#include "net/dns/mock_host_resolver.h"
#include "net/test/embedded_test_server/embedded_test_server.h"
#include "services/device/public/cpp/test/scoped_pressure_manager_overrider.h"
#include "services/device/public/mojom/pressure_update.mojom.h"
#include "third_party/blink/public/common/features_generated.h"
#include "url/gurl.h"
namespace content {
PressureSource;
PressureState;
PressureUpdate;
namespace {
bool SupportsSharedWorker() { … }
class TestVideoOverlayWindow : public VideoOverlayWindow { … };
class TestContentBrowserClient : public ContentBrowserTestContentBrowserClient { … };
class TestWebContentsDelegate : public WebContentsDelegate { … };
class ComputePressureBrowserTest : public ContentBrowserTest { … };
}
IN_PROC_BROWSER_TEST_F(ComputePressureBrowserTest, DeliverUpdate) { … }
IN_PROC_BROWSER_TEST_F(ComputePressureBrowserTest, DeliverUpdateForSameOrigin) { … }
IN_PROC_BROWSER_TEST_F(ComputePressureBrowserTest, NoUpdateForCrossOrigin) { … }
IN_PROC_BROWSER_TEST_F(ComputePressureBrowserTest, DeliverDataForPiP) { … }
IN_PROC_BROWSER_TEST_F(ComputePressureBrowserTest, DeliverDataForCapturing) { … }
}