Fix tests
This commit is contained in:
@@ -68,7 +68,8 @@ BraveVpnServiceFactory::~BraveVpnServiceFactory() = default;
|
||||
|
||||
KeyedService* BraveVpnServiceFactory::BuildServiceInstanceFor(
|
||||
content::BrowserContext* context) const {
|
||||
if (!brave_vpn::IsAllowedForContext(context)) {
|
||||
if (!brave_vpn::IsAllowedForContext(context) ||
|
||||
!g_brave_browser_process->brave_vpn_os_connection_api()) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
||||
@@ -155,7 +155,6 @@ TestingBraveBrowserProcess::brave_farbling_service() {
|
||||
#if BUILDFLAG(ENABLE_BRAVE_VPN)
|
||||
brave_vpn::BraveVPNOSConnectionAPI*
|
||||
TestingBraveBrowserProcess::brave_vpn_os_connection_api() {
|
||||
NOTREACHED();
|
||||
return nullptr;
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user