summaryrefslogtreecommitdiff
path: root/Source/WebCore/inspector/InspectorIndexedDBAgent.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/inspector/InspectorIndexedDBAgent.h')
-rw-r--r--Source/WebCore/inspector/InspectorIndexedDBAgent.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/Source/WebCore/inspector/InspectorIndexedDBAgent.h b/Source/WebCore/inspector/InspectorIndexedDBAgent.h
index 1b46dd143..b19ed6e5f 100644
--- a/Source/WebCore/inspector/InspectorIndexedDBAgent.h
+++ b/Source/WebCore/inspector/InspectorIndexedDBAgent.h
@@ -39,6 +39,7 @@
namespace WebCore {
+class InjectedScriptManager;
class InspectorPageAgent;
typedef String ErrorString;
@@ -47,9 +48,9 @@ class InspectorIndexedDBAgent : public InspectorBaseAgent<InspectorIndexedDBAgen
public:
class FrontendProvider;
- static PassOwnPtr<InspectorIndexedDBAgent> create(InstrumentingAgents* instrumentingAgents, InspectorState* state, InspectorPageAgent* pageAgent)
+ static PassOwnPtr<InspectorIndexedDBAgent> create(InstrumentingAgents* instrumentingAgents, InspectorState* state, InjectedScriptManager* injectedScriptManager, InspectorPageAgent* pageAgent)
{
- return adoptPtr(new InspectorIndexedDBAgent(instrumentingAgents, state, pageAgent));
+ return adoptPtr(new InspectorIndexedDBAgent(instrumentingAgents, state, injectedScriptManager, pageAgent));
}
~InspectorIndexedDBAgent();
@@ -62,9 +63,11 @@ public:
virtual void disable(ErrorString*);
virtual void requestDatabaseNamesForFrame(ErrorString*, int requestId, const String& frameId);
virtual void requestDatabase(ErrorString*, int requestId, const String& frameId, const String& databaseName);
+ virtual void requestData(ErrorString*, int requestId, const String& frameId, const String& databaseName, const String& objectStoreName, const String& indexName, int skipCount, int pageSize, const RefPtr<InspectorObject>* keyRange);
private:
- InspectorIndexedDBAgent(InstrumentingAgents*, InspectorState*, InspectorPageAgent*);
+ InspectorIndexedDBAgent(InstrumentingAgents*, InspectorState*, InjectedScriptManager*, InspectorPageAgent*);
+ InjectedScriptManager* m_injectedScriptManager;
InspectorPageAgent* m_pageAgent;
RefPtr<FrontendProvider> m_frontendProvider;
bool m_enabled;