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

Unified Diff: media/base/pipeline_status.h

Issue 148553003: Clean up histogram'd media enum max values. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix naming collision Created 6 years, 10 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/media_log.cc ('k') | media/base/sample_format.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 a9f8585f573f06a4d3f8b8826e127db9289a9cc3..15e5c9dd76ca5b8416d10f705ccf41be17749143 100644
--- a/media/base/pipeline_status.h
+++ b/media/base/pipeline_status.h
@@ -32,7 +32,8 @@ enum PipelineStatus {
DEMUXER_ERROR_NO_SUPPORTED_STREAMS = 14,
// Decoder related errors.
DECODER_ERROR_NOT_SUPPORTED = 15,
- PIPELINE_STATUS_MAX, // Must be greater than all other values logged.
+ // Must be equal to the largest value ever logged.
+ PIPELINE_STATUS_MAX = DECODER_ERROR_NOT_SUPPORTED,
};
typedef base::Callback<void(PipelineStatus)> PipelineStatusCB;
« no previous file with comments | « media/base/media_log.cc ('k') | media/base/sample_format.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698