Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5045)

Unified Diff: chrome/browser/views/cookie_prompt_view.cc

Issue 1338001: Block database access on allowDatabase instead of databaseOpenFile. (Closed)
Patch Set: without worker support Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/views/cookie_prompt_view.cc
diff --git a/chrome/browser/views/cookie_prompt_view.cc b/chrome/browser/views/cookie_prompt_view.cc
index f89724ad9698321364ec7494a07e45ac746bb40f..b2b2a5f66a84bd3d3194a9889710554cde7de3b7 100644
--- a/chrome/browser/views/cookie_prompt_view.cc
+++ b/chrome/browser/views/cookie_prompt_view.cc
@@ -240,7 +240,9 @@ void CookiePromptView::Init() {
DatabaseOpenInfoView* view = new DatabaseOpenInfoView();
layout->AddView(view, 1, 1, GridLayout::FILL, GridLayout::CENTER);
view->SetFields(parent_->origin().host(),
- parent_->database_name());
+ parent_->database_name(),
+ parent_->display_name(),
+ parent_->estimated_size());
info_view_ = view;
} else if (type == CookiePromptModalDialog::DIALOG_TYPE_APPCACHE) {
static const int kAppCacheInfoLabels[] = {

Powered by Google App Engine
This is Rietveld 408576698