diff options
author | boliu@google.com <boliu@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-02 21:52:48 +0000 |
---|---|---|
committer | boliu@google.com <boliu@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-02 21:52:48 +0000 |
commit | 71cb533c8712331906346ddea2fce0c3fccec78c (patch) | |
tree | 08c6e472c937ca35022c4b5a0bc5981b0d1b2203 /media/base/pipeline.h | |
parent | 9a26e33ca80eb7352da8f0ce020c3c8402fdc6d7 (diff) | |
download | chromium_src-71cb533c8712331906346ddea2fce0c3fccec78c.zip chromium_src-71cb533c8712331906346ddea2fce0c3fccec78c.tar.gz chromium_src-71cb533c8712331906346ddea2fce0c3fccec78c.tar.bz2 |
Change MediaFilter::Stop() to accept a callback so that Stop() is asynchronous. So far PipelineImpl handles asynchronous MediaFilter::Stop(). The actual change to make MediaFilter::Stop() asynchronous will be in another check in.
BUG=16059
TEST=Unit tests still runs
Review URL: http://codereview.chromium.org/2101015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48769 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/base/pipeline.h')
-rw-r--r-- | media/base/pipeline.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/media/base/pipeline.h b/media/base/pipeline.h index 8e39d06..4af77db 100644 --- a/media/base/pipeline.h +++ b/media/base/pipeline.h @@ -22,10 +22,8 @@ namespace media { // Error definitions for pipeline. All codes indicate an error except: // PIPELINE_OK indicates the pipeline is running normally. -// PIPELINE_STOPPING is used internally when Pipeline::Stop() is called. enum PipelineError { PIPELINE_OK, - PIPELINE_STOPPING, PIPELINE_ERROR_URL_NOT_FOUND, PIPELINE_ERROR_NETWORK, PIPELINE_ERROR_DECODE, |