| Index: Source/core/inspector/InspectorIndexedDBAgent.cpp
|
| diff --git a/Source/core/inspector/InspectorIndexedDBAgent.cpp b/Source/core/inspector/InspectorIndexedDBAgent.cpp
|
| index 31e07362e10623256cd527625be7926101003416..88e5741ad25c52a7ef1343f8a2d934e58c0b81c7 100644
|
| --- a/Source/core/inspector/InspectorIndexedDBAgent.cpp
|
| +++ b/Source/core/inspector/InspectorIndexedDBAgent.cpp
|
| @@ -548,8 +548,13 @@ public:
|
|
|
| } // namespace
|
|
|
| -InspectorIndexedDBAgent::InspectorIndexedDBAgent(InstrumentingAgents* instrumentingAgents, InspectorCompositeState* state, InjectedScriptManager* injectedScriptManager, InspectorPageAgent* pageAgent)
|
| - : InspectorBaseAgent<InspectorIndexedDBAgent>("IndexedDB", instrumentingAgents, state)
|
| +PassRefPtr<InspectorIndexedDBAgent> InspectorIndexedDBAgent::create(InstrumentingAgents* instrumentingAgents, InspectorState* state, PassRefPtr<InspectorPageAgent> pageAgent, InjectedScriptManager* injectedScriptManager)
|
| +{
|
| + return adoptRef(new InspectorIndexedDBAgent(instrumentingAgents, state, pageAgent, injectedScriptManager));
|
| +}
|
| +
|
| +InspectorIndexedDBAgent::InspectorIndexedDBAgent(InstrumentingAgents* instrumentingAgents, InspectorState* state, PassRefPtr<InspectorPageAgent> pageAgent, InjectedScriptManager* injectedScriptManager)
|
| + : InspectorBaseAgent(instrumentingAgents, state)
|
| , m_injectedScriptManager(injectedScriptManager)
|
| , m_pageAgent(pageAgent)
|
| {
|
| @@ -783,4 +788,10 @@ void InspectorIndexedDBAgent::clearObjectStore(ErrorString* errorString, const S
|
| clearObjectStore->start(idbFactory, document->securityOrigin(), databaseName);
|
| }
|
|
|
| +InspectorIndexedDBFactory::InspectorIndexedDBFactory(InstrumentingAgents* instrumentingAgents, InspectorCompositeState* compositeState, InspectorPageFactory* pageFactory, InjectedScriptManager* injectedScriptManager)
|
| + : InspectorBaseFactory<InspectorIndexedDBFactory, InspectorIndexedDBAgent>("IndexedDB", instrumentingAgents, compositeState)
|
| +{
|
| + setAgent(InspectorIndexedDBAgent::create(m_instrumentingAgents, m_state, pageFactory->agent(), injectedScriptManager));
|
| +}
|
| +
|
| } // namespace WebCore
|
|
|