#include "chrome/test/base/testing_profile.h"
#include "components/custom_handlers/protocol_handler.h"
#include "components/custom_handlers/protocol_handler_registry.h"
#include "components/custom_handlers/test_protocol_handler_registry_delegate.h"
#include "content/public/test/browser_task_environment.h"
#include "extensions/buildflags/buildflags.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/common/security/protocol_handler_security_level.h"
ProtocolHandler;
ProtocolHandlerRegistry;
class ChromeProtocolHandlerRegistryTest : public testing::Test { … };
#if BUILDFLAG(ENABLE_EXTENSIONS)
TEST_F(ChromeProtocolHandlerRegistryTest, ExtensionHandler) { … }
#endif
#if !BUILDFLAG(IS_ANDROID)
TEST_F(ChromeProtocolHandlerRegistryTest, IsolatedWebApps) { … }
#endif