#include "base/command_line.h"
#include "base/test/scoped_feature_list.h"
#include "chrome/browser/policy/policy_test_utils.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/common/pref_names.h"
#include "chrome/test/base/in_process_browser_test.h"
#include "components/network_session_configurator/common/network_switches.h"
#include "components/policy/core/common/policy_map.h"
#include "components/policy/policy_constants.h"
#include "components/prefs/pref_service.h"
#include "content/public/browser/web_contents.h"
#include "content/public/common/content_features.h"
#include "content/public/test/browser_test.h"
#include "content/public/test/browser_test_utils.h"
#include "content/public/test/content_browser_test_utils.h"
#include "net/test/embedded_test_server/embedded_test_server.h"
namespace policy {
class ChromeSharedArrayBufferBrowserTest : public PolicyTest { … };
IN_PROC_BROWSER_TEST_F(ChromeSharedArrayBufferBrowserTest,
PolicyEnablesSabConstructor) { … }
IN_PROC_BROWSER_TEST_F(ChromeSharedArrayBufferBrowserTest,
NoPolicyNoSabConstructor) { … }
IN_PROC_BROWSER_TEST_F(ChromeSharedArrayBufferBrowserTest,
PolicyEnablesSharing) { … }
IN_PROC_BROWSER_TEST_F(ChromeSharedArrayBufferBrowserTest, NoPolicyNoSharing) { … }
}