mirror of
https://github.com/electron/electron.git
synced 2026-01-28 16:58:21 -05:00
remove name parameter from AllowIndexedDB
https://chromium-review.googlesource.com/c/1306914
This commit is contained in:
@@ -45,7 +45,6 @@ bool ContentSettingsObserver::AllowStorage(bool local) {
|
||||
}
|
||||
|
||||
bool ContentSettingsObserver::AllowIndexedDB(
|
||||
const blink::WebString& name,
|
||||
const blink::WebSecurityOrigin& security_origin) {
|
||||
blink::WebFrame* frame = render_frame()->GetWebFrame();
|
||||
if (frame->GetSecurityOrigin().IsUnique() ||
|
||||
|
||||
@@ -22,8 +22,7 @@ class ContentSettingsObserver : public content::RenderFrameObserver,
|
||||
const blink::WebString& display_name,
|
||||
unsigned estimated_size) override;
|
||||
bool AllowStorage(bool local) override;
|
||||
bool AllowIndexedDB(const blink::WebString& name,
|
||||
const blink::WebSecurityOrigin& security_origin) override;
|
||||
bool AllowIndexedDB(const blink::WebSecurityOrigin& security_origin) override;
|
||||
|
||||
private:
|
||||
// content::RenderFrameObserver implementation.
|
||||
|
||||
Reference in New Issue
Block a user