Commit f90d946c authored by mcasas's avatar mcasas Committed by Commit bot

VideoCapture messages: remove unused VIDEO_CAPTURE_STATE_STARTING

BUG=651897

Review-Url: https://codereview.chromium.org/2386153004
Cr-Commit-Position: refs/heads/master@{#422685}
parent 9d6d4198
...@@ -23,7 +23,6 @@ using VideoCaptureDeliverFrameCB = ...@@ -23,7 +23,6 @@ using VideoCaptureDeliverFrameCB =
// browser process and renderer process. Browser process sends information about // browser process and renderer process. Browser process sends information about
// the current capture state and error to the renderer process using this type. // the current capture state and error to the renderer process using this type.
enum VideoCaptureState { enum VideoCaptureState {
VIDEO_CAPTURE_STATE_STARTING,
VIDEO_CAPTURE_STATE_STARTED, VIDEO_CAPTURE_STATE_STARTED,
VIDEO_CAPTURE_STATE_PAUSED, VIDEO_CAPTURE_STATE_PAUSED,
VIDEO_CAPTURE_STATE_RESUMED, VIDEO_CAPTURE_STATE_RESUMED,
......
...@@ -365,7 +365,6 @@ void LocalVideoCapturerSource::OnStateUpdate(VideoCaptureState state) { ...@@ -365,7 +365,6 @@ void LocalVideoCapturerSource::OnStateUpdate(VideoCaptureState state) {
base::ResetAndReturn(&running_callback_).Run(false); base::ResetAndReturn(&running_callback_).Run(false);
break; break;
case VIDEO_CAPTURE_STATE_STARTING:
case VIDEO_CAPTURE_STATE_PAUSED: case VIDEO_CAPTURE_STATE_PAUSED:
case VIDEO_CAPTURE_STATE_RESUMED: case VIDEO_CAPTURE_STATE_RESUMED:
// Not applicable to reporting on device start success/failure. // Not applicable to reporting on device start success/failure.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment