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

Unified Diff: content/browser/devtools/devtools_power_handler.h

Issue 341853002: [PowerProfiler] Power profiler service keeps running even after devtools frontend has been closed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@power-profiler-devtools-crash-fix
Patch Set: Patch for landing! Created 6 years, 6 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
« no previous file with comments | « no previous file | content/browser/devtools/devtools_power_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/devtools/devtools_power_handler.h
diff --git a/content/browser/devtools/devtools_power_handler.h b/content/browser/devtools/devtools_power_handler.h
index f645392a1993a81a139f4e56d85f89638097111d..6042eab228cf809197713093a470b96e3a789df4 100644
--- a/content/browser/devtools/devtools_power_handler.h
+++ b/content/browser/devtools/devtools_power_handler.h
@@ -22,6 +22,8 @@ class DevToolsPowerHandler
// PowerProfilerObserver override.
virtual void OnPowerEvent(const PowerEventVector&) OVERRIDE;
+ void OnClientDetached();
+
private:
scoped_refptr<DevToolsProtocol::Response> OnStart(
scoped_refptr<DevToolsProtocol::Command> command);
« no previous file with comments | « no previous file | content/browser/devtools/devtools_power_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698