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

Unified Diff: chrome/browser/cookies_tree_model.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
Index: chrome/browser/cookies_tree_model.cc
diff --git a/chrome/browser/cookies_tree_model.cc b/chrome/browser/cookies_tree_model.cc
index 1dd02be91328abe941171130d6836bbe976f67a5..24e3c9a36b5f9f92e1788340e43329d63625241a 100644
--- a/chrome/browser/cookies_tree_model.cc
+++ b/chrome/browser/cookies_tree_model.cc
@@ -186,9 +186,10 @@ CookieTreeSessionStorageNode::CookieTreeSessionStorageNode(
CookieTreeIndexedDBNode::CookieTreeIndexedDBNode(
BrowsingDataIndexedDBHelper::IndexedDBInfo* indexed_db_info)
- : CookieTreeNode(indexed_db_info->database_name.empty() ?
- l10n_util::GetStringUTF16(IDS_COOKIES_WEB_DATABASE_UNNAMED_NAME) :
- UTF8ToUTF16(indexed_db_info->database_name)),
+ : CookieTreeNode(UTF8ToUTF16(
+ indexed_db_info->origin.empty() ?
+ indexed_db_info->database_identifier :
+ indexed_db_info->origin)),
indexed_db_info_(indexed_db_info) {
}
« no previous file with comments | « chrome/browser/cocoa/cookie_details_unittest.mm ('k') | chrome/browser/dom_ui/options/cookies_view_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698