Files
brave-core/components
Alex e66c446dd5 [VPN 2.0] Add BraveVpnServiceImpl V2 stubs (#36935)
To add a new BraveVpnService implementation based on Architecture 2.0,
which must co-exist with Architecture 1.0 for quite a while, we need
to split service's interface and implementation. All the external
components will keep accessing VPN service via the BraveVpnService
interface, but the implementation mostly goes into BraveVpnServiceImpl.

This change adds the second service implementation, BraveVpnServiceImpl,
for Architecture 2.0. It will live in a "components/brave_vpn/browser/v2"
subdirectory, but will eventually move into "components/brave_vpn/browser"
once V1 implementation has been removed.

Notable changes:
- fully testable BraveVpnServiceImpl v2 stub implementation, in a
  dedicated "v2" namespace;
- BraveVpnServiceFactory can now create a proper implementation based
  on the compile-time GN flags;
- v1/v2 include isolation using DEPS include rules (so that the
  implementations can't depend on each other);
- stub unit test for BraveVpnServiceImpl v2.

Resolves https://github.com/brave/brave-browser/issues/54597
2026-06-04 23:24:47 +02:00
..
2026-06-01 16:00:04 +01:00
2026-06-01 16:00:04 +01:00
2026-04-27 12:00:54 +01:00