Index: content/browser/indexed_db/indexed_db_internals_ui.h |
diff --git a/content/browser/indexed_db/indexed_db_internals_ui.h b/content/browser/indexed_db/indexed_db_internals_ui.h |
index e679fa9ec2293004e3917c0fa5da774278d4346e..e00f8c4aee5e1f5330e90624a21fc10267b1c468 100644 |
--- a/content/browser/indexed_db/indexed_db_internals_ui.h |
+++ b/content/browser/indexed_db/indexed_db_internals_ui.h |
@@ -18,6 +18,8 @@ namespace base { |
namespace content { |
+class StoragePartition; |
+ |
// The implementation for the chrome://indexeddb-internals page. |
class IndexedDBInternalsUI : public WebUIController { |
public: |
@@ -25,9 +27,18 @@ class IndexedDBInternalsUI : public WebUIController { |
virtual ~IndexedDBInternalsUI(); |
private: |
+ typedef std::vector<scoped_refptr<IndexedDBContext> > ContextList; |
void GetAllOrigins(const base::ListValue* args); |
- void GetAllOriginsOnWebkitThread(scoped_refptr<IndexedDBContext> context); |
- void OnOriginsReady(scoped_ptr<std::vector<IndexedDBInfo> > origins); |
+ void GetAllOriginsOnWebkitThread( |
+ scoped_ptr<ContextList> contexts, |
+ scoped_ptr<std::vector<base::FilePath> > context_paths); |
+ void OnOriginsReady(scoped_ptr<std::vector<IndexedDBInfo> > origins, |
+ const base::FilePath& path); |
+ |
+ static void AddContextFromStoragePartition(ContextList* contexts, |
+ std::vector<base::FilePath>* paths, |
+ StoragePartition* partition); |
+ |
DISALLOW_COPY_AND_ASSIGN(IndexedDBInternalsUI); |
}; |