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

Unified Diff: components/ui_devtools/devtools_client.h

Issue 2470933002: Disable agents when client disconnects (Closed)
Patch Set: Created 4 years, 1 month 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: components/ui_devtools/devtools_client.h
diff --git a/components/ui_devtools/devtools_client.h b/components/ui_devtools/devtools_client.h
index 8910dd5926ab1507576f85e04a7310041f47d2f2..0b8f5098520e012eb00620ecfc3a4e8948e2c16d 100644
--- a/components/ui_devtools/devtools_client.h
+++ b/components/ui_devtools/devtools_client.h
@@ -29,6 +29,7 @@ class UiDevToolsClient : public protocol::FrontendChannel {
~UiDevToolsClient() override;
void AddAgent(std::unique_ptr<UiDevToolsAgent> agent);
+ void DisableAllAgents();
void Dispatch(const std::string& data);
bool connected() const;

Powered by Google App Engine
This is Rietveld 408576698