namespace Inspector {
-class InspectorBackendDispatcher;
-class InspectorFrontendChannel;
+class BackendDispatcher;
+class FrontendChannel;
-enum class InspectorDisconnectReason {
+enum class DisconnectReason {
InspectedTargetDestroyed,
InspectorDestroyed
};
public:
virtual ~InspectorAgentBase() { }
- virtual void didCreateFrontendAndBackend(InspectorFrontendChannel*, InspectorBackendDispatcher*) = 0;
- virtual void willDestroyFrontendAndBackend(InspectorDisconnectReason reason) = 0;
+ String domainName() const { return m_name; }
+
+ virtual void didCreateFrontendAndBackend(FrontendChannel*, BackendDispatcher*) = 0;
+ virtual void willDestroyFrontendAndBackend(DisconnectReason) = 0;
virtual void discardAgent() { }
protected:
String m_name;
};
-
+
} // namespace Inspector
#endif // !defined(InspectorAgentBase_h)