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

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

Issue 2194063002: [DevTools] Move canExecuteScript to V8DebuggerClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 120a4edb330cc1678607bc5e7b68b002cdcddec5..a7d743c03a082b07a06ec8dfc5cd6d4f8d41500d 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorSession.h
+++ b/third_party/WebKit/Source/core/inspector/InspectorSession.h
@@ -18,7 +18,6 @@
namespace blink {
class ExecutionContext;
-class InspectedFrames;
class InspectorAgent;
class InstrumentingAgents;
class LocalFrame;
@@ -38,7 +37,7 @@ public:
virtual ~Client() {}
};
- InspectorSession(Client*, InspectedFrames*, InstrumentingAgents*, int sessionId, bool autoFlush, V8Debugger*, int contextGroupId, const String* savedState);
+ InspectorSession(Client*, InstrumentingAgents*, int sessionId, bool autoFlush, V8Debugger*, int contextGroupId, const String* savedState);
~InspectorSession() override;
int sessionId() { return m_sessionId; }
V8InspectorSession* v8Session() { return m_v8Session.get(); }
@@ -59,14 +58,12 @@ private:
// V8InspectorSessionClient implementation.
void resumeStartup() override;
- bool canExecuteScripts() override;
Client* m_client;
std::unique_ptr<V8InspectorSession> m_v8Session;
int m_sessionId;
bool m_autoFlush;
bool m_disposed;
- Member<InspectedFrames> m_inspectedFrames;
Member<InstrumentingAgents> m_instrumentingAgents;
std::unique_ptr<protocol::UberDispatcher> m_inspectorBackendDispatcher;
std::unique_ptr<protocol::DictionaryValue> m_state;

Powered by Google App Engine
This is Rietveld 408576698