Index: content/browser/devtools/devtools_tracing_handler.h |
diff --git a/content/browser/devtools/devtools_tracing_handler.h b/content/browser/devtools/devtools_tracing_handler.h |
index c41f1ec9791d65587d28aacf8d95fbfdeced3f1d..787a123f666e57a708f7601bdaa86c4a2c5e4dd9 100644 |
--- a/content/browser/devtools/devtools_tracing_handler.h |
+++ b/content/browser/devtools/devtools_tracing_handler.h |
@@ -24,6 +24,8 @@ class DevToolsTracingHandler : public DevToolsProtocol::Handler { |
explicit DevToolsTracingHandler(Target target); |
virtual ~DevToolsTracingHandler(); |
+ void OnClientDetached(); |
+ |
private: |
void BeginReadingRecordingResult(const base::FilePath& path); |
void ReadRecordingResult(const scoped_refptr<base::RefCountedString>& result); |
@@ -38,6 +40,10 @@ class DevToolsTracingHandler : public DevToolsProtocol::Handler { |
TracingController::Options TraceOptionsFromString(const std::string& options); |
+ void DisableRecording( |
+ const TracingController::TracingFileResultCallback& callback = |
+ TracingController::TracingFileResultCallback()); |
+ |
base::WeakPtrFactory<DevToolsTracingHandler> weak_factory_; |
scoped_ptr<base::Timer> buffer_usage_poll_timer_; |
Target target_; |