#include <memory>
#include "base/test/scoped_feature_list.h"
#include "content/browser/web_contents/web_contents_impl.h"
#include "content/public/browser/render_widget_host_observer.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_utils.h"
#include "content/public/test/url_loader_interceptor.h"
#include "content/shell/browser/shell.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
namespace content {
namespace {
constexpr char kBaseDataDir[] = …;
class TestRenderWidgetHostObserver : public RenderWidgetHostObserver { … };
class FoldableAPIsOriginTrialBrowserTest : public ContentBrowserTest { … };
IN_PROC_BROWSER_TEST_F(FoldableAPIsOriginTrialBrowserTest,
ValidOriginTrialToken) { … }
IN_PROC_BROWSER_TEST_F(FoldableAPIsOriginTrialBrowserTest, NoOriginTrialToken) { … }
class FoldableAPIsOriginTrialKillSwitchBrowserTest
: public FoldableAPIsOriginTrialBrowserTest { … };
IN_PROC_BROWSER_TEST_F(FoldableAPIsOriginTrialKillSwitchBrowserTest,
ValidOriginTrialToken) { … }
IN_PROC_BROWSER_TEST_F(FoldableAPIsOriginTrialKillSwitchBrowserTest,
NoOriginTrialToken) { … }
}
}