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

Unified Diff: Source/modules/indexeddb/InspectorIndexedDBAgent.h

Issue 148253005: DevTools: remove references to modules/indexeddb from core/inspector (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 10 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: Source/modules/indexeddb/InspectorIndexedDBAgent.h
diff --git a/Source/core/inspector/InspectorIndexedDBAgent.h b/Source/modules/indexeddb/InspectorIndexedDBAgent.h
similarity index 87%
rename from Source/core/inspector/InspectorIndexedDBAgent.h
rename to Source/modules/indexeddb/InspectorIndexedDBAgent.h
index 3aa79305079936fb6de549b3ccd2f08ae84a196b..37e8878569e91c803362cbb311c4ea7639412117 100644
--- a/Source/core/inspector/InspectorIndexedDBAgent.h
+++ b/Source/modules/indexeddb/InspectorIndexedDBAgent.h
@@ -37,17 +37,14 @@
namespace WebCore {
-class InjectedScriptManager;
-class InspectorPageAgent;
+class Page;
typedef String ErrorString;
class InspectorIndexedDBAgent FINAL : public InspectorBaseAgent<InspectorIndexedDBAgent>, public InspectorBackendDispatcher::IndexedDBCommandHandler {
public:
- static PassOwnPtr<InspectorIndexedDBAgent> create(InjectedScriptManager* injectedScriptManager, InspectorPageAgent* pageAgent)
- {
- return adoptPtr(new InspectorIndexedDBAgent(injectedScriptManager, pageAgent));
- }
+ static void provideTo(Page*);
+
virtual ~InspectorIndexedDBAgent();
virtual void clearFrontend() OVERRIDE;
@@ -62,10 +59,9 @@ public:
virtual void clearObjectStore(ErrorString*, const String& in_securityOrigin, const String& in_databaseName, const String& in_objectStoreName, PassRefPtr<ClearObjectStoreCallback>) OVERRIDE;
private:
- InspectorIndexedDBAgent(InjectedScriptManager*, InspectorPageAgent*);
+ InspectorIndexedDBAgent(Page*);
- InjectedScriptManager* m_injectedScriptManager;
- InspectorPageAgent* m_pageAgent;
+ Page* m_page;
};
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698