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

Unified Diff: media/base/pipeline_status.h

Issue 6686061: PipelineError is dead. Long live PipelineStatus! (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: responses to 2nd CR Created 9 years, 9 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 | « media/base/pipeline_impl_unittest.cc ('k') | media/filters/ffmpeg_demuxer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/pipeline_status.h
diff --git a/media/base/pipeline_status.h b/media/base/pipeline_status.h
index 787708efb1e65813b100d388819f9974cd25957b..84c8d4f4c43ab891f16380e7dce744ae33d23c1d 100644
--- a/media/base/pipeline_status.h
+++ b/media/base/pipeline_status.h
@@ -9,9 +9,8 @@
namespace media {
-// Error definitions for pipeline. All codes indicate an error except:
-// PIPELINE_OK indicates the pipeline is running normally.
-enum PipelineError {
+// Status states for pipeline. All codes except PIPELINE_OK indicate errors.
+enum PipelineStatus {
PIPELINE_OK,
PIPELINE_ERROR_URL_NOT_FOUND,
PIPELINE_ERROR_NETWORK,
@@ -34,7 +33,7 @@ enum PipelineError {
DATASOURCE_ERROR_URL_NOT_SUPPORTED,
};
-typedef Callback1<media::PipelineError>::Type PipelineStatusCallback;
+typedef Callback1<media::PipelineStatus>::Type PipelineStatusCallback;
} // namespace media
« no previous file with comments | « media/base/pipeline_impl_unittest.cc ('k') | media/filters/ffmpeg_demuxer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698