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

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

Issue 1936593002: [DevTools] Remove state from v8 agent wrappers, remove unnecessary classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove-everything-from-agents
Patch Set: rebased Created 4 years, 7 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/InspectorRuntimeAgent.h
diff --git a/third_party/WebKit/Source/core/inspector/InspectorRuntimeAgent.h b/third_party/WebKit/Source/core/inspector/InspectorRuntimeAgent.h
index 3e46540d83b2f53db74abb02c670e96ff246416e..a0ecd2768f22c16d3e2208e0c28ad5fe845d27f4 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorRuntimeAgent.h
+++ b/third_party/WebKit/Source/core/inspector/InspectorRuntimeAgent.h
@@ -54,6 +54,7 @@ class CORE_EXPORT InspectorRuntimeAgent
, public protocol::Backend::Runtime {
WTF_MAKE_NONCOPYABLE(InspectorRuntimeAgent);
public:
+ explicit InspectorRuntimeAgent(V8RuntimeAgent*);
~InspectorRuntimeAgent() override;
// InspectorBaseAgent overrides.
@@ -75,9 +76,6 @@ public:
void runScript(ErrorString*, const String16& scriptId, int executionContextId, const Maybe<String16>& objectGroup, const Maybe<bool>& doNotPauseOnExceptionsAndMuteConsole, const Maybe<bool>& includeCommandLineAPI, OwnPtr<protocol::Runtime::RemoteObject>* result, Maybe<protocol::Runtime::ExceptionDetails>*) override;
protected:
- explicit InspectorRuntimeAgent(V8RuntimeAgent*);
-
- bool m_enabled;
V8RuntimeAgent* m_v8RuntimeAgent;
};

Powered by Google App Engine
This is Rietveld 408576698