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

Unified Diff: chrome/browser/gtk/gtk_chrome_cookie_view.cc

Issue 4682002: Remove "name" field from indexed databases. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years, 1 month 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
« no previous file with comments | « chrome/browser/gtk/gtk_chrome_cookie_view.h ('k') | chrome/browser/gtk/options/cookies_view_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/gtk/gtk_chrome_cookie_view.cc
diff --git a/chrome/browser/gtk/gtk_chrome_cookie_view.cc b/chrome/browser/gtk/gtk_chrome_cookie_view.cc
index aa4d3442d2f92856bdf178fc9fa27439da032a33..07413f62e50264ee436d16e8039635ed3ac792a1 100644
--- a/chrome/browser/gtk/gtk_chrome_cookie_view.cc
+++ b/chrome/browser/gtk/gtk_chrome_cookie_view.cc
@@ -181,7 +181,6 @@ void SetAppCacheDetailsSensitivity(GtkChromeCookieView *self,
void SetIndexedDBDetailsSensitivity(GtkChromeCookieView *self,
gboolean enabled) {
- gtk_widget_set_sensitive(self->indexed_db_name_entry_, enabled);
gtk_widget_set_sensitive(self->indexed_db_origin_entry_, enabled);
gtk_widget_set_sensitive(self->indexed_db_size_entry_, enabled);
gtk_widget_set_sensitive(self->indexed_db_last_modified_entry_, enabled);
@@ -383,9 +382,6 @@ void BuildWidgets(GtkChromeCookieView *self, gboolean editable_expiration) {
gtk_util::kLabelSpacing);
row = 0;
- InitDetailRow(row++, IDS_COOKIES_COOKIE_NAME_LABEL,
- self->indexed_db_details_table_,
- &self->indexed_db_name_entry_);
InitDetailRow(row++, IDS_COOKIES_LOCAL_STORAGE_ORIGIN_LABEL,
self->indexed_db_details_table_,
&self->indexed_db_origin_entry_);
@@ -602,11 +598,6 @@ void gtk_chrome_cookie_view_display_indexed_db(
const BrowsingDataIndexedDBHelper::IndexedDBInfo& indexed_db_info) {
UpdateVisibleDetailedInfo(self, self->indexed_db_details_table_);
- gtk_entry_set_text(GTK_ENTRY(self->indexed_db_name_entry_),
- indexed_db_info.database_name.empty() ?
- l10n_util::GetStringUTF8(
- IDS_COOKIES_WEB_DATABASE_UNNAMED_NAME).c_str() :
- indexed_db_info.database_name.c_str());
gtk_entry_set_text(GTK_ENTRY(self->indexed_db_origin_entry_),
indexed_db_info.origin.c_str());
gtk_entry_set_text(GTK_ENTRY(self->indexed_db_size_entry_),
« no previous file with comments | « chrome/browser/gtk/gtk_chrome_cookie_view.h ('k') | chrome/browser/gtk/options/cookies_view_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698