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 174db191bc29566b86c6b7ebdcc63f0a8f459442..bc9a5da95389e31e0057af74d1059fb8e3e6e3f6 100644 |
--- a/content/browser/indexed_db/indexed_db_internals_ui.h |
+++ b/content/browser/indexed_db/indexed_db_internals_ui.h |
@@ -11,11 +11,14 @@ |
#include "base/memory/scoped_ptr.h" |
#include "content/public/browser/indexed_db_context.h" |
#include "content/public/browser/web_ui_controller.h" |
+#include "net/base/net_errors.h" |
namespace base { class ListValue; } |
namespace content { |
+class DownloadItem; |
+class IndexedDBContextImpl; |
class StoragePartition; |
// The implementation for the chrome://indexeddb-internals page. |
@@ -28,8 +31,8 @@ class IndexedDBInternalsUI : public WebUIController { |
typedef std::vector<scoped_refptr<IndexedDBContext> > ContextList; |
void GetAllOrigins(const base::ListValue* args); |
void GetAllOriginsOnWebkitThread( |
- scoped_ptr<ContextList> contexts, |
- scoped_ptr<std::vector<base::FilePath> > context_paths); |
+ const scoped_ptr<ContextList> contexts, |
+ const scoped_ptr<std::vector<base::FilePath> > context_paths); |
void OnOriginsReady(scoped_ptr<std::vector<IndexedDBInfo> > origins, |
const base::FilePath& path); |
@@ -37,6 +40,21 @@ class IndexedDBInternalsUI : public WebUIController { |
std::vector<base::FilePath>* paths, |
StoragePartition* partition); |
+ void DownloadOriginData(const base::ListValue* args); |
+ void DownloadOriginDataOnWebkitThread( |
+ const base::FilePath& partition_path, |
+ const scoped_refptr<IndexedDBContextImpl> context, |
+ const GURL& origin_url); |
+ void OnDownloadDataReady(const base::FilePath& partition_path, |
+ const GURL& origin_url, |
+ const base::FilePath temp_path, |
+ const base::FilePath zip_path); |
+ void OnDownloadStarted(const base::FilePath& partition_path, |
+ const GURL& origin_url, |
+ const base::FilePath& temp_path, |
+ content::DownloadItem* item, |
+ net::Error error); |
+ |
DISALLOW_COPY_AND_ASSIGN(IndexedDBInternalsUI); |
}; |