#include "chrome/browser/media/webrtc/tab_desktop_media_list.h"
#include "base/test/gmock_callback_support.h"
#include "chrome/browser/browser_features.h"
#include "chrome/browser/media/webrtc/tab_desktop_media_list_mock_observer.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_commands.h"
#include "chrome/browser/ui/web_applications/test/isolated_web_app_test_utils.h"
#include "chrome/browser/ui/web_applications/web_app_browsertest_base.h"
#include "chrome/browser/web_applications/isolated_web_apps/isolated_web_app_url_info.h"
#include "chrome/browser/web_applications/isolated_web_apps/test/isolated_web_app_builder.h"
#include "content/public/browser/web_contents.h"
#include "content/public/test/browser_test.h"
#include "content/public/test/browser_test_utils.h"
namespace {
class TabDesktopMediaListIwaTest
: public web_app::IsolatedWebAppBrowserTestHarness { … };
IN_PROC_BROWSER_TEST_F(TabDesktopMediaListIwaTest,
IwaNotVisibleInTabMediaList) { … }
IN_PROC_BROWSER_TEST_F(TabDesktopMediaListIwaTest,
NewTabVisibleInTabMediaList) { … }
class TabDesktopMediaListWithIwaIncludedTest
: public TabDesktopMediaListIwaTest { … };
IN_PROC_BROWSER_TEST_F(TabDesktopMediaListWithIwaIncludedTest,
IwaVisibleInTabMediaListWhenFeatureIsDisabled) { … }
}