WebSQL: Don't pass name/metadata around, use content::StorageUsageInfo
1432375
This commit is contained in:
parent
b99ff3448e
commit
7270a08f9c
2 changed files with 2 additions and 7 deletions
|
@ -19,10 +19,7 @@ ContentSettingsObserver::ContentSettingsObserver(
|
|||
|
||||
ContentSettingsObserver::~ContentSettingsObserver() {}
|
||||
|
||||
bool ContentSettingsObserver::AllowDatabase(
|
||||
const blink::WebString& name,
|
||||
const blink::WebString& display_name,
|
||||
unsigned estimated_size) {
|
||||
bool ContentSettingsObserver::AllowDatabase() {
|
||||
blink::WebFrame* frame = render_frame()->GetWebFrame();
|
||||
if (frame->GetSecurityOrigin().IsUnique() ||
|
||||
frame->Top()->GetSecurityOrigin().IsUnique())
|
||||
|
|
|
@ -18,9 +18,7 @@ class ContentSettingsObserver : public content::RenderFrameObserver,
|
|||
~ContentSettingsObserver() override;
|
||||
|
||||
// blink::WebContentSettingsClient implementation.
|
||||
bool AllowDatabase(const blink::WebString& name,
|
||||
const blink::WebString& display_name,
|
||||
unsigned estimated_size) override;
|
||||
bool AllowDatabase() override;
|
||||
bool AllowStorage(bool local) override;
|
||||
bool AllowIndexedDB(const blink::WebSecurityOrigin& security_origin) override;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue