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

Unified Diff: chrome/browser/dom_ui/options/cookies_view_handler.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/cookies_tree_model.cc ('k') | chrome/browser/gtk/gtk_chrome_cookie_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/dom_ui/options/cookies_view_handler.cc
diff --git a/chrome/browser/dom_ui/options/cookies_view_handler.cc b/chrome/browser/dom_ui/options/cookies_view_handler.cc
index 160a8fa018bb3a6a97e8074282dc8ff22a707f77..f1eee91d9998f51b7fefa78b59d03ffbc483bcd0 100644
--- a/chrome/browser/dom_ui/options/cookies_view_handler.cc
+++ b/chrome/browser/dom_ui/options/cookies_view_handler.cc
@@ -157,9 +157,6 @@ void GetCookieTreeNodeDictionary(const CookieTreeNode& node,
const BrowsingDataIndexedDBHelper::IndexedDBInfo& indexed_db_info =
*node.GetDetailedInfo().indexed_db_info;
- dict->SetString(kKeyName, indexed_db_info.database_name.empty() ?
- l10n_util::GetStringUTF8(IDS_COOKIES_WEB_DATABASE_UNNAMED_NAME) :
- indexed_db_info.database_name);
dict->SetString(kKeyOrigin, indexed_db_info.origin);
dict->SetString(kKeySize,
FormatBytes(indexed_db_info.size,
@@ -234,8 +231,6 @@ void CookiesViewHandler::GetLocalizedValues(
l10n_util::GetStringUTF16(IDS_COOKIES_LOCAL_STORAGE_LAST_MODIFIED_LABEL));
localized_strings->SetString("label_local_storage_origin",
l10n_util::GetStringUTF16(IDS_COOKIES_LOCAL_STORAGE_ORIGIN_LABEL));
- localized_strings->SetString("label_indexed_db_name",
- l10n_util::GetStringUTF16(IDS_COOKIES_COOKIE_NAME_LABEL));
localized_strings->SetString("label_indexed_db_size",
l10n_util::GetStringUTF16(IDS_COOKIES_LOCAL_STORAGE_SIZE_ON_DISK_LABEL));
localized_strings->SetString("label_indexed_db_last_modified",
« no previous file with comments | « chrome/browser/cookies_tree_model.cc ('k') | chrome/browser/gtk/gtk_chrome_cookie_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698