fix: empty result of webContents.getUserAgent() (#35069)

fix: empty result of webContents.getUserAgent()
This commit is contained in:
Shelley Vohr 2022-07-29 17:09:47 +02:00 committed by GitHub
parent 8004cb8722
commit 9028bb79a8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 14 deletions

View file

@ -89,7 +89,6 @@ class ElectronBrowserContext : public content::BrowserContext {
void SetUserAgent(const std::string& user_agent);
std::string GetUserAgent() const;
absl::optional<std::string> GetUserAgentOverride() const;
bool CanUseHttpCache() const;
int GetMaxCacheSize() const;
ResolveProxyHelper* GetResolveProxyHelper();