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

Unified Diff: third_party/WebKit/Source/web/WebDevToolsAgentImpl.h

Issue 1883193004: [DevTools] Destroy agents on detach. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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/web/WebDevToolsAgentImpl.h
diff --git a/third_party/WebKit/Source/web/WebDevToolsAgentImpl.h b/third_party/WebKit/Source/web/WebDevToolsAgentImpl.h
index e3917c7618c54d0a453020f400b4de59e3c91d25..e2c9d2629afa1076dfda78865fd8d6731dbb6ffd 100644
--- a/third_party/WebKit/Source/web/WebDevToolsAgentImpl.h
+++ b/third_party/WebKit/Source/web/WebDevToolsAgentImpl.h
@@ -137,7 +137,8 @@ private:
void willProcessTask() override;
void didProcessTask() override;
- void initializeDeferredAgents();
+ void initializeAgents();
+ void destroyAgents();
friend class WebDevToolsAgent;
static void runDebuggerTask(int sessionId, PassOwnPtr<WebDevToolsAgent::MessageDescriptor>);
@@ -165,7 +166,6 @@ private:
OwnPtr<protocol::Dispatcher> m_inspectorBackendDispatcher;
OwnPtr<protocol::Frontend> m_inspectorFrontend;
InspectorAgentRegistry m_agents;
- bool m_deferredAgentsInitialized;
bool m_includeViewAgents;
typedef Vector<std::pair<int, OwnPtr<protocol::Value>>> NotificationQueue;
« no previous file with comments | « third_party/WebKit/Source/web/InspectorOverlay.cpp ('k') | third_party/WebKit/Source/web/WebDevToolsAgentImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698