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

Issue 10855041: Remove Pipeline::kEnded state as it is redundant with Pipeline::kStarted. (Closed)

Created:
8 years, 4 months ago by scherkus (not reviewing)
Modified:
8 years, 4 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org
Visibility:
Public.

Description

Remove Pipeline::kEnded state as it is redundant with Pipeline::kStarted. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=150591

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -13 lines) Patch
M media/base/media_log.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M media/base/pipeline.h View 2 chunks +0 lines, -4 lines 0 comments Download
M media/base/pipeline.cc View 6 chunks +2 lines, -7 lines 2 comments Download

Messages

Total messages: 3 (0 generated)
scherkus (not reviewing)
split off from http://codereview.chromium.org/10828045/
8 years, 4 months ago (2012-08-08 01:20:23 UTC) #1
acolwell GONE FROM CHROMIUM
LGTM % question http://codereview.chromium.org/10855041/diff/1/media/base/pipeline.cc File media/base/pipeline.cc (right): http://codereview.chromium.org/10855041/diff/1/media/base/pipeline.cc#newcode832 media/base/pipeline.cc:832: if (state_ != kStarted) { Looks ...
8 years, 4 months ago (2012-08-08 17:27:08 UTC) #2
scherkus (not reviewing)
8 years, 4 months ago (2012-08-08 17:34:31 UTC) #3
http://codereview.chromium.org/10855041/diff/1/media/base/pipeline.cc
File media/base/pipeline.cc (right):

http://codereview.chromium.org/10855041/diff/1/media/base/pipeline.cc#newcode832
media/base/pipeline.cc:832: if (state_ != kStarted) {
On 2012/08/08 17:27:08, acolwell wrote:
> Looks like we won't be protected from extra ended calls now. I'm assuming
that's
> ok since it would be a bug. How would we detect it now though?

Chatted offline -- it seems like that was the only use for kEnded. We could add
a bool or something but it's not really worth it for catching renderers that
fire extra ended cbs

Powered by Google App Engine
This is Rietveld 408576698