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

Side by Side Diff: media/base/media_log_event.h

Issue 11471006: Log MediaSource parsing errors to the MediaLog so they can appear in chrome:media-internals. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix nit. Created 8 years 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « media/base/media_log.cc ('k') | media/base/stream_parser.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MEDIA_BASE_MEDIA_LOG_EVENT_H_ 5 #ifndef MEDIA_BASE_MEDIA_LOG_EVENT_H_
6 #define MEDIA_BASE_MEDIA_LOG_EVENT_H_ 6 #define MEDIA_BASE_MEDIA_LOG_EVENT_H_
7 7
8 #include "base/time.h" 8 #include "base/time.h"
9 #include "base/values.h" 9 #include "base/values.h"
10 10
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 61
62 // The audio renderer has been disabled. 62 // The audio renderer has been disabled.
63 // params: none. 63 // params: none.
64 AUDIO_RENDERER_DISABLED, 64 AUDIO_RENDERER_DISABLED,
65 65
66 // The extents of the sliding buffer have changed. 66 // The extents of the sliding buffer have changed.
67 // params: "buffer_start": <first buffered byte>. 67 // params: "buffer_start": <first buffered byte>.
68 // "buffer_current": <current offset>. 68 // "buffer_current": <current offset>.
69 // "buffer_end": <last buffered byte>. 69 // "buffer_end": <last buffered byte>.
70 BUFFERED_EXTENTS_CHANGED, 70 BUFFERED_EXTENTS_CHANGED,
71
72 // Errors reported by Media Source Extensions code.
73 MEDIA_SOURCE_ERROR,
74 // params: "error": Error string describing the error detected.
71 }; 75 };
72 76
73 int32 id; 77 int32 id;
74 Type type; 78 Type type;
75 base::DictionaryValue params; 79 base::DictionaryValue params;
76 base::Time time; 80 base::Time time;
77 }; 81 };
78 82
79 } // namespace media 83 } // namespace media
80 84
81 #endif // MEDIA_BASE_MEDIA_LOG_EVENT_H_ 85 #endif // MEDIA_BASE_MEDIA_LOG_EVENT_H_
OLDNEW
« no previous file with comments | « media/base/media_log.cc ('k') | media/base/stream_parser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698