Files
brave-core/docs/best-practices
Brian R. Bondy b3d33bcc98 Add best practice: factory return value must be stable across the browser session (#36217)
Adds ARCH-072 to docs/best-practices/architecture.md. A KeyedServiceFactory
may only return nullptr based on session-stable attributes (profile type,
buildflags, base::Feature). Gating creation on user-toggleable prefs forces
restarts and was repeatedly flagged in PR reviews.
2026-05-06 13:52:15 -04:00
..