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

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

Issue 1924913002: [DevTools] Move API methods from V8DebuggerAgent to V8InspectorSession. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/InspectorPageAgent.h
diff --git a/third_party/WebKit/Source/core/inspector/InspectorPageAgent.h b/third_party/WebKit/Source/core/inspector/InspectorPageAgent.h
index afb6fcecd80f0cfdc7d40faa307e799994db7020..8882593043d03e3c49f7d505636d8e3d27f0e34a 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorPageAgent.h
+++ b/third_party/WebKit/Source/core/inspector/InspectorPageAgent.h
@@ -45,12 +45,12 @@ class Document;
class DocumentLoader;
class InspectedFrames;
class InspectorCSSAgent;
-class InspectorDebuggerAgent;
class InspectorResourceContentLoader;
class KURL;
class LocalFrame;
class SharedBuffer;
class TextResourceDecoder;
+class V8InspectorSession;
using blink::protocol::Maybe;
@@ -81,7 +81,7 @@ public:
OtherResource
};
- static InspectorPageAgent* create(InspectedFrames*, Client*, InspectorResourceContentLoader*, InspectorDebuggerAgent*);
+ static InspectorPageAgent* create(InspectedFrames*, Client*, InspectorResourceContentLoader*, V8InspectorSession*);
static HeapVector<Member<Document>> importsForFrame(LocalFrame*);
static bool cachedResourceContent(Resource*, String* result, bool* base64Encoded);
@@ -135,7 +135,7 @@ public:
DECLARE_VIRTUAL_TRACE();
private:
- InspectorPageAgent(InspectedFrames*, Client*, InspectorResourceContentLoader*, InspectorDebuggerAgent*);
+ InspectorPageAgent(InspectedFrames*, Client*, InspectorResourceContentLoader*, V8InspectorSession*);
void finishReload();
void getResourceContentAfterResourcesContentLoaded(const String& frameId, const String& url, PassOwnPtr<GetResourceContentCallback>);
@@ -146,7 +146,7 @@ private:
PassOwnPtr<protocol::Page::Frame> buildObjectForFrame(LocalFrame*);
PassOwnPtr<protocol::Page::FrameResourceTree> buildObjectForFrameTree(LocalFrame*);
Member<InspectedFrames> m_inspectedFrames;
- Member<InspectorDebuggerAgent> m_debuggerAgent;
+ V8InspectorSession* m_v8Session;
Client* m_client;
long m_lastScriptIdentifier;
String m_pendingScriptToEvaluateOnLoadOnce;

Powered by Google App Engine
This is Rietveld 408576698