Files
vadims ac92cda1c1 Improve test coverage for HTTPS upgrade exception matching (#33765)
Covered with tests the HTTPS upgrade exceptions logic, updated comments
with logic information.

Resolves: https://github.com/brave/brave-browser/issues/49186
---------

Signed-off-by: Vadym Struts <vstruts@brave.com>
2026-02-27 16:08:06 +01:00

33 lines
769 B
Plaintext

# Copyright (c) 2023 The Brave Authors. All rights reserved.
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this file,
# You can obtain one at https://mozilla.org/MPL/2.0/.
import("//brave/build/config.gni")
static_library("browser") {
sources = [
"https_upgrade_exceptions_service.cc",
"https_upgrade_exceptions_service.h",
]
deps = [
"//base",
"//brave/components/brave_component_updater/browser",
"//net",
"//url",
]
}
source_set("unit_tests") {
testonly = true
sources = [ "https_upgrade_exceptions_service_unittest.cc" ]
deps = [
":browser",
"//base/test:test_support",
"//net:net_features",
"//testing/gtest",
]
}