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

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

Issue 503053007: Revert of media: Introduce Renderer interface and RendererImpl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 3 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « media/base/media_log.cc ('k') | media/base/mock_filters.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/time.h" 8 #include "base/time/time.h"
9 #include "base/values.h" 9 #include "base/values.h"
10 10
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 // "height": <integral height of the video>. 63 // "height": <integral height of the video>.
64 VIDEO_SIZE_SET, 64 VIDEO_SIZE_SET,
65 65
66 // A property of the pipeline has been set by a filter. 66 // A property of the pipeline has been set by a filter.
67 // These take a single parameter based upon the name of the event and of 67 // These take a single parameter based upon the name of the event and of
68 // the appropriate type. e.g. DURATION_SET: "duration" of type TimeDelta. 68 // the appropriate type. e.g. DURATION_SET: "duration" of type TimeDelta.
69 DURATION_SET, 69 DURATION_SET,
70 TOTAL_BYTES_SET, 70 TOTAL_BYTES_SET,
71 NETWORK_ACTIVITY_SET, 71 NETWORK_ACTIVITY_SET,
72 72
73 // Audio/Video stream playback has ended. 73 // Audio/Video/Text stream playback has ended.
74 ENDED, 74 AUDIO_ENDED,
75 75 VIDEO_ENDED,
76 // Text stream playback has ended.
77 TEXT_ENDED, 76 TEXT_ENDED,
78 77
79 // The extents of the sliding buffer have changed. 78 // The extents of the sliding buffer have changed.
80 // params: "buffer_start": <first buffered byte>. 79 // params: "buffer_start": <first buffered byte>.
81 // "buffer_current": <current offset>. 80 // "buffer_current": <current offset>.
82 // "buffer_end": <last buffered byte>. 81 // "buffer_end": <last buffered byte>.
83 BUFFERED_EXTENTS_CHANGED, 82 BUFFERED_EXTENTS_CHANGED,
84 83
85 // Errors reported by Media Source Extensions code. 84 // Errors reported by Media Source Extensions code.
86 MEDIA_SOURCE_ERROR, 85 MEDIA_SOURCE_ERROR,
87 // params: "error": Error string describing the error detected. 86 // params: "error": Error string describing the error detected.
88 87
89 // A property has changed without any special event occurring. 88 // A property has changed without any special event occurring.
90 PROPERTY_CHANGE, 89 PROPERTY_CHANGE,
91 90
92 TYPE_LAST = PROPERTY_CHANGE 91 TYPE_LAST = PROPERTY_CHANGE
93 }; 92 };
94 93
95 int32 id; 94 int32 id;
96 Type type; 95 Type type;
97 base::DictionaryValue params; 96 base::DictionaryValue params;
98 base::TimeTicks time; 97 base::TimeTicks time;
99 }; 98 };
100 99
101 } // namespace media 100 } // namespace media
102 101
103 #endif // MEDIA_BASE_MEDIA_LOG_EVENT_H_ 102 #endif // MEDIA_BASE_MEDIA_LOG_EVENT_H_
OLDNEW
« no previous file with comments | « media/base/media_log.cc ('k') | media/base/mock_filters.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698