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

Unified Diff: chrome/gpu/arc_video_accelerator.h

Issue 2506363003: Add Media.ArcGpuVideoDecodeAccelerator.InitializeResult to histograms (Closed)
Patch Set: Add Media.ArcGpuVideoDecodeAccelerator.InitializeResult to histograms Created 4 years, 1 month 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 | « chrome/gpu/arc_gpu_video_decode_accelerator.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/gpu/arc_video_accelerator.h
diff --git a/chrome/gpu/arc_video_accelerator.h b/chrome/gpu/arc_video_accelerator.h
index a1ef232b8b90520ea724912e6f478b93692c1f88..490dd8f605d479e11422028aaf90011a23ca5527 100644
--- a/chrome/gpu/arc_video_accelerator.h
+++ b/chrome/gpu/arc_video_accelerator.h
@@ -56,12 +56,16 @@ struct VideoFormat {
class ArcVideoAccelerator {
public:
enum Result {
+ // Note: this enum is used for UMA reporting. The existing values should not
+ // be rearranged, reused or removed and any additions should include updates
+ // to UMA reporting and histograms.xml.
SUCCESS = 0,
ILLEGAL_STATE = 1,
INVALID_ARGUMENT = 2,
UNREADABLE_INPUT = 3,
PLATFORM_FAILURE = 4,
INSUFFICIENT_RESOURCES = 5,
+ RESULT_MAX = 6,
};
struct Config {
« no previous file with comments | « chrome/gpu/arc_gpu_video_decode_accelerator.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698