chromium/chrome/browser/custom_handlers/chrome_protocol_handler_registry_unittest.cc

// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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  // BUILDFLAG(ENABLE_EXTENSIONS)

// Isolated Web Apps test
#if !BUILDFLAG(IS_ANDROID)
TEST_F(ChromeProtocolHandlerRegistryTest, IsolatedWebApps) {}
#endif  // !BUILDFLAG(IS_ANDROID)