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

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

Issue 2160963002: Add watch time metrics for HTML5 media playback. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments. Created 4 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
« no previous file with comments | « media/base/media_log.cc ('k') | media/blink/BUILD.gn » ('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 <stdint.h> 8 #include <stdint.h>
9 #include <memory> 9 #include <memory>
10 10
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 MEDIA_INFO_LOG_ENTRY, 88 MEDIA_INFO_LOG_ENTRY,
89 // params: "info": String with details of an informative log entry. 89 // params: "info": String with details of an informative log entry.
90 90
91 // Debug log reported by media code. 91 // Debug log reported by media code.
92 MEDIA_DEBUG_LOG_ENTRY, 92 MEDIA_DEBUG_LOG_ENTRY,
93 // params: "debug": String with details of a debug log entry. 93 // params: "debug": String with details of a debug log entry.
94 94
95 // A property has changed without any special event occurring. 95 // A property has changed without any special event occurring.
96 PROPERTY_CHANGE, 96 PROPERTY_CHANGE,
97 97
98 TYPE_LAST = PROPERTY_CHANGE 98 // Indicates that updated watch time statistics are available.
99 WATCH_TIME_UPDATE,
100
101 TYPE_LAST = WATCH_TIME_UPDATE
99 }; 102 };
100 103
101 int32_t id; 104 int32_t id;
102 Type type; 105 Type type;
103 base::DictionaryValue params; 106 base::DictionaryValue params;
104 base::TimeTicks time; 107 base::TimeTicks time;
105 }; 108 };
106 109
107 } // namespace media 110 } // namespace media
108 111
109 #endif // MEDIA_BASE_MEDIA_LOG_EVENT_H_ 112 #endif // MEDIA_BASE_MEDIA_LOG_EVENT_H_
OLDNEW
« no previous file with comments | « media/base/media_log.cc ('k') | media/blink/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698