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

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

Issue 14118002: Implement read-only indexedb-internals (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Patch for landing, nits addressed 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 a74d67b1da9a4f98482c5377748fd9acc5d5e166..e679fa9ec2293004e3917c0fa5da774278d4346e 100644
--- a/content/browser/indexed_db/indexed_db_internals_ui.h
+++ b/content/browser/indexed_db/indexed_db_internals_ui.h
@@ -5,8 +5,17 @@
#ifndef CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_INTERNALS_UI_H_
#define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_INTERNALS_UI_H_
+#include <vector>
+
+#include "base/memory/ref_counted.h"
+#include "base/memory/scoped_ptr.h"
+#include "content/public/browser/indexed_db_context.h"
#include "content/public/browser/web_ui_controller.h"
+namespace base {
+ class ListValue;
+}
+
namespace content {
// The implementation for the chrome://indexeddb-internals page.
@@ -16,6 +25,10 @@ class IndexedDBInternalsUI : public WebUIController {
virtual ~IndexedDBInternalsUI();
private:
+ void GetAllOrigins(const base::ListValue* args);
+ void GetAllOriginsOnWebkitThread(scoped_refptr<IndexedDBContext> context);
+ void OnOriginsReady(scoped_ptr<std::vector<IndexedDBInfo> > origins);
+
DISALLOW_COPY_AND_ASSIGN(IndexedDBInternalsUI);
};

Powered by Google App Engine
This is Rietveld 408576698