fix: allow persistent media salts (#22386)
* fix: allow persistent media salts * chore: add regression test for persistent media device ids across reloads
This commit is contained in:
parent
fc54db11f3
commit
ee04c7f7ee
3 changed files with 29 additions and 2 deletions
|
@ -246,6 +246,11 @@ class ElectronBrowserClient : public content::ContentBrowserClient,
|
|||
const GURL& site_url) override;
|
||||
bool ShouldUseProcessPerSite(content::BrowserContext* browser_context,
|
||||
const GURL& effective_url) override;
|
||||
bool ArePersistentMediaDeviceIDsAllowed(
|
||||
content::BrowserContext* browser_context,
|
||||
const GURL& scope,
|
||||
const GURL& site_for_cookies,
|
||||
const base::Optional<url::Origin>& top_frame_origin) override;
|
||||
|
||||
// content::RenderProcessHostObserver:
|
||||
void RenderProcessHostDestroyed(content::RenderProcessHost* host) override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue