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

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

Issue 8661002: Fire CanPlayThrough immediately for local and streaming media files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase ToT Created 9 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #pragma once 7 #pragma once
8 8
9 #include "base/time.h" 9 #include "base/time.h"
10 #include "base/values.h" 10 #include "base/values.h"
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 // The size of the video has been determined. 47 // The size of the video has been determined.
48 // params: "width": <integral width of the video>. 48 // params: "width": <integral width of the video>.
49 // "height": <integral height of the video>. 49 // "height": <integral height of the video>.
50 VIDEO_SIZE_SET, 50 VIDEO_SIZE_SET,
51 51
52 // A property of the pipeline has been set by a filter. 52 // A property of the pipeline has been set by a filter.
53 // These take a single parameter based upon the name of the event and of 53 // These take a single parameter based upon the name of the event and of
54 // the appropriate type. e.g. DURATION_SET: "duration" of type TimeDelta. 54 // the appropriate type. e.g. DURATION_SET: "duration" of type TimeDelta.
55 DURATION_SET, 55 DURATION_SET,
56 TOTAL_BYTES_SET, 56 TOTAL_BYTES_SET,
57 STREAMING_SET,
58 LOADED_SET,
59 NETWORK_ACTIVITY_SET, 57 NETWORK_ACTIVITY_SET,
60 58
61 // Playback has ended. 59 // Playback has ended.
62 // params: none. 60 // params: none.
63 ENDED, 61 ENDED,
64 62
65 // The audio renderer has been disabled. 63 // The audio renderer has been disabled.
66 // params: none. 64 // params: none.
67 AUDIO_RENDERER_DISABLED, 65 AUDIO_RENDERER_DISABLED,
68 66
(...skipping 11 matching lines...) Expand all
80 78
81 int32 id; 79 int32 id;
82 Type type; 80 Type type;
83 base::DictionaryValue params; 81 base::DictionaryValue params;
84 base::Time time; 82 base::Time time;
85 }; 83 };
86 84
87 } // namespace media 85 } // namespace media
88 86
89 #endif // MEDIA_BASE_MEDIA_LOG_EVENT_H_ 87 #endif // MEDIA_BASE_MEDIA_LOG_EVENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698