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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorSession.h

Issue 1903953002: [DevTools] Move from InstrumentingAgents to InstrumentingSessions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove-discard-agent
Patch Set: rebased Created 4 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: third_party/WebKit/Source/core/inspector/InspectorSession.h
diff --git a/third_party/WebKit/Source/core/inspector/InspectorSession.h b/third_party/WebKit/Source/core/inspector/InspectorSession.h
index 91dd99641085a67d9e8b843426301a8d2daf9367..c76bc873d573f901a8d99d19b75bd805eca3ac53 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorSession.h
+++ b/third_party/WebKit/Source/core/inspector/InspectorSession.h
@@ -7,6 +7,8 @@
#include "core/CoreExport.h"
#include "platform/heap/Handle.h"
+#include "platform/inspector_protocol/Dispatcher.h"
+#include "platform/inspector_protocol/Frontend.h"
#include "platform/inspector_protocol/FrontendChannel.h"
#include "platform/inspector_protocol/Values.h"
#include "wtf/Forward.h"
@@ -20,11 +22,6 @@ class InspectorAgent;
class InstrumentingAgents;
class LocalFrame;
-namespace protocol {
-class Dispatcher;
-class Frontend;
-}
-
class CORE_EXPORT InspectorSession
: public GarbageCollectedFinalized<InspectorSession>
, WTF_NON_EXPORTED_BASE(public protocol::FrontendChannel) {
@@ -36,8 +33,9 @@ public:
virtual ~Client() {}
};
- InspectorSession(Client*, int sessionId, InstrumentingAgents*, bool autoFlush);
+ InspectorSession(Client*, int sessionId, bool autoFlush);
int sessionId() { return m_sessionId; }
+ InstrumentingAgents* instrumentingAgents() { return m_instrumentingAgents.get(); }
void append(InspectorAgent*);
void attach(const String* savedState);

Powered by Google App Engine
This is Rietveld 408576698