Igalia / wolvic-chromium

The official GitHub mirror of the Chromium source
https://chromium.googlesource.com/chromium/src/
BSD 3-Clause "New" or "Revised" License
11 stars 6 forks source link

Add SessionSettings::GetDefaultUserAgent() #22

Closed svillar closed 1 year ago

svillar commented 1 year ago

Added a new method that retrieves the UA to be used by Chromium for a given mode (mobile, desktop or VR). Part of the existing code has to be moved from the content browser client to session settings in order to allow both Wolvic and the WolvicContentBrowserClient to access it.