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

Unified Diff: content/browser/devtools/protocol/page_handler.cc

Issue 888573002: DevTools: FrameRecorder: add cancelRecordingFrames command (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 | « content/browser/devtools/protocol/page_handler.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/devtools/protocol/page_handler.cc
diff --git a/content/browser/devtools/protocol/page_handler.cc b/content/browser/devtools/protocol/page_handler.cc
index 84b6b103aa468aa755471c35aa317b664197d7ee..127a797829275c6aa86e9082b0fffc50027c1541 100644
--- a/content/browser/devtools/protocol/page_handler.cc
+++ b/content/browser/devtools/protocol/page_handler.cc
@@ -415,6 +415,10 @@ Response PageHandler::StopRecordingFrames(DevToolsCommandId command_id) {
&PageHandler::OnFramesRecorded, base::Unretained(this), command_id));
}
+Response PageHandler::CancelRecordingFrames() {
+ return frame_recorder_->CancelRecordingFrames();
+}
+
Response PageHandler::ScreencastFrameAck(int frame_number) {
screencast_frame_acked_ = frame_number;
return Response::OK();
« no previous file with comments | « content/browser/devtools/protocol/page_handler.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698