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

Unified Diff: content/browser/indexed_db/indexed_db_internals_ui.h

Issue 13949013: Implement download link 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_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..2d0c53b730b68a6dcfc0c5f4f4bdd3ac02f9c0ae 100644
--- a/content/browser/indexed_db/indexed_db_internals_ui.h
+++ b/content/browser/indexed_db/indexed_db_internals_ui.h
@@ -11,12 +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 StoragePartition;
+class DownloadItem;
// The implementation for the chrome://indexeddb-internals page.
class IndexedDBInternalsUI : public WebUIController {
@@ -37,6 +39,20 @@ class IndexedDBInternalsUI : public WebUIController {
std::vector<base::FilePath>* paths,
StoragePartition* partition);
+ void DownloadOriginData(const base::ListValue* args);
+ void DownloadOriginDataOnWebkitThread(const base::FilePath& partition_path,
+ scoped_refptr<IndexedDBContext> 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);
};

Powered by Google App Engine
This is Rietveld 408576698