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

Unified Diff: content/browser/indexed_db/indexed_db_context_impl.cc

Issue 14156003: Support multiple storage partitions in chrome://indexeddb-internals/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix cocoa unit test Created 7 years, 8 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: content/browser/indexed_db/indexed_db_context_impl.cc
diff --git a/content/browser/indexed_db/indexed_db_context_impl.cc b/content/browser/indexed_db/indexed_db_context_impl.cc
index f045681a7c9a45ab19be85241d196e8fdcaf36d1..bc37cfa3656724ba10440580e01df0d033213906 100644
--- a/content/browser/indexed_db/indexed_db_context_impl.cc
+++ b/content/browser/indexed_db/indexed_db_context_impl.cc
@@ -4,6 +4,8 @@
#include "content/browser/indexed_db/indexed_db_context_impl.h"
+#include <vector>
+
#include "base/bind.h"
#include "base/command_line.h"
#include "base/file_util.h"
@@ -130,9 +132,12 @@ std::vector<IndexedDBInfo> IndexedDBContextImpl::GetAllOriginsInfo() {
iter != origins.end(); ++iter) {
const GURL& origin = *iter;
+ string16 origin_id = DatabaseUtil::GetOriginIdentifier(origin);
+ base::FilePath idb_directory = GetIndexedDBFilePath(origin_id);
result.push_back(IndexedDBInfo(origin,
GetOriginDiskUsage(origin),
- GetOriginLastModified(origin)));
+ GetOriginLastModified(origin),
+ idb_directory));
}
return result;
}
« no previous file with comments | « chrome/browser/ui/webui/cookies_tree_model_util.cc ('k') | content/browser/indexed_db/indexed_db_internals_ui.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698