chrome: Set prefs for accept_language_list on Profile init (fixes #3579)

This commit is contained in:
Marshall Greenblatt
2023-10-05 16:35:02 -04:00
parent 29938f9cb0
commit a8a96235a8
5 changed files with 29 additions and 17 deletions

View File

@@ -37,8 +37,10 @@ std::unique_ptr<PrefService> CreatePrefService(Profile* profile,
// |browser_context| and/or |browser| may be nullptr. If |expand| is true then
// base languages and Q values may be added.
std::string GetAcceptLanguageList(CefBrowserContext* browser_context,
CefBrowserHostBase* browser,
bool expand);
CefBrowserHostBase* browser);
// Set preferences for a newly initialized Profile.
void SetInitialProfilePrefs(Profile* profile);
} // namespace browser_prefs