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

Unified Diff: content/browser/renderer_host/media/video_capture_controller_event_handler.h

Issue 10391065: handle the case when device is closed before media pipeline is fully initialized. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: code review Created 8 years, 7 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: content/browser/renderer_host/media/video_capture_controller_event_handler.h
===================================================================
--- content/browser/renderer_host/media/video_capture_controller_event_handler.h (revision 138673)
+++ content/browser/renderer_host/media/video_capture_controller_event_handler.h (working copy)
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -43,6 +43,9 @@
int height,
int frame_rate) = 0;
+ // The capture session has been paused. No more frame will be sent.
+ virtual void OnPaused(const VideoCaptureControllerID& id) = 0;
+
// Report that this object can be deleted.
virtual void OnReadyToDelete(const VideoCaptureControllerID& id) = 0;

Powered by Google App Engine
This is Rietveld 408576698