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

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

Issue 1924663006: [DevTools] Move API methods from V8RuntimeAgent to V8InspectorSession. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@debugger-into-session
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/PageConsoleAgent.h
diff --git a/third_party/WebKit/Source/core/inspector/PageConsoleAgent.h b/third_party/WebKit/Source/core/inspector/PageConsoleAgent.h
index 1fe4e4140fdf9457ca9a79cc58f4241b13912bfc..666eb8adcb4f099f791e5fba0d618e1b6543bd8a 100644
--- a/third_party/WebKit/Source/core/inspector/PageConsoleAgent.h
+++ b/third_party/WebKit/Source/core/inspector/PageConsoleAgent.h
@@ -47,10 +47,7 @@ class WorkerGlobalScopeProxy;
class CORE_EXPORT PageConsoleAgent final : public InspectorConsoleAgent {
WTF_MAKE_NONCOPYABLE(PageConsoleAgent);
public:
- static PageConsoleAgent* create(V8RuntimeAgent* runtimeAgent, InspectorDOMAgent* domAgent, InspectedFrames* inspectedFrames)
- {
- return new PageConsoleAgent(runtimeAgent, domAgent, inspectedFrames);
- }
+ PageConsoleAgent(V8InspectorSession*, InspectorDOMAgent*, InspectedFrames*);
~PageConsoleAgent() override;
DECLARE_VIRTUAL_TRACE();
@@ -69,7 +66,6 @@ protected:
void disableStackCapturingIfNeeded() override;
private:
- PageConsoleAgent(V8RuntimeAgent*, InspectorDOMAgent*, InspectedFrames*);
void clearMessages(ErrorString*) override;
Member<InspectorDOMAgent> m_inspectorDOMAgent;

Powered by Google App Engine
This is Rietveld 408576698