#include <memory>
#include <sstream>
#include <string>
#include <string_view>
#include <utility>
#include "base/callback_list.h"
#include "base/command_line.h"
#include "base/feature_list.h"
#include "base/functional/bind.h"
#include "base/ranges/algorithm.h"
#include "base/strings/string_util.h"
#include "base/test/scoped_feature_list.h"
#include "base/types/strong_alias.h"
#include "chrome/browser/signin/identity_manager_factory.h"
#include "chrome/browser/supervised_user/supervised_user_service_factory.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/common/chrome_features.h"
#include "chrome/test/base/mixin_based_in_process_browser_test.h"
#include "chrome/test/base/ui_test_utils.h"
#include "chrome/test/supervised_user/supervision_mixin.h"
#include "components/keyed_service/content/browser_context_dependency_manager.h"
#include "components/supervised_user/core/browser/fetcher_config.h"
#include "components/supervised_user/core/browser/proto/kidsmanagement_messages.pb.h"
#include "components/supervised_user/core/browser/supervised_user_capabilities.h"
#include "components/supervised_user/core/common/features.h"
#include "components/supervised_user/test_support/kids_management_api_server_mock.h"
#include "components/variations/variations_switches.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/storage_partition.h"
#include "content/public/test/browser_test.h"
#include "net/test/embedded_test_server/embedded_test_server.h"
#include "net/test/embedded_test_server/http_request.h"
#include "services/network/public/cpp/network_switches.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "url/gurl.h"
namespace supervised_user {
namespace {
ClassifyUrlRequest;
_;
NiceMock;
Pointee;
MATCHER_P(EqualsProto,
message,
"Match a proto Message equal to the matcher's argument.") { … }
class TestCase { … };
constexpr std::string_view kRegionCode = …;
class SupervisedUserRegionalURLFilterTest
: public MixinBasedInProcessBrowserTest,
public ::testing::WithParamInterface<SupervisionMixin::SignInMode> { … };
IN_PROC_BROWSER_TEST_P(SupervisedUserRegionalURLFilterTest, RegionIsAdded) { … }
std::string PrettyPrintTestCaseName(
const ::testing::TestParamInfo<SupervisionMixin::SignInMode>& info) { … }
INSTANTIATE_TEST_SUITE_P(…);
}
}