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

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

Issue 10834236: Replace Pipeline::kEnded state and HasEnded() methods with renderer-specific bools. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src
Patch Set: Created 8 years, 4 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.h" 8 #include "base/time.h"
9 #include "base/values.h" 9 #include "base/values.h"
10 10
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 // "height": <integral height of the video>. 48 // "height": <integral height of the video>.
49 VIDEO_SIZE_SET, 49 VIDEO_SIZE_SET,
50 50
51 // A property of the pipeline has been set by a filter. 51 // A property of the pipeline has been set by a filter.
52 // These take a single parameter based upon the name of the event and of 52 // These take a single parameter based upon the name of the event and of
53 // the appropriate type. e.g. DURATION_SET: "duration" of type TimeDelta. 53 // the appropriate type. e.g. DURATION_SET: "duration" of type TimeDelta.
54 DURATION_SET, 54 DURATION_SET,
55 TOTAL_BYTES_SET, 55 TOTAL_BYTES_SET,
56 NETWORK_ACTIVITY_SET, 56 NETWORK_ACTIVITY_SET,
57 57
58 // Playback has ended. 58 // Audio/Video stream playback has ended.
59 // params: none. 59 AUDIO_ENDED,
60 ENDED, 60 VIDEO_ENDED,
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 }; 71 };
72 72
73 int32 id; 73 int32 id;
74 Type type; 74 Type type;
75 base::DictionaryValue params; 75 base::DictionaryValue params;
76 base::Time time; 76 base::Time time;
77 }; 77 };
78 78
79 } // namespace media 79 } // namespace media
80 80
81 #endif // MEDIA_BASE_MEDIA_LOG_EVENT_H_ 81 #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