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

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: 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 6c67cd5ee98b443bd03ea31355d9703e401b2668..88c84bcad150b5d20dee1edb6b64671093b55a6c 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"
@@ -129,9 +131,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;
}

Powered by Google App Engine
This is Rietveld 408576698