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

Unified Diff: media/base/media_event_types.h

Issue 7480032: Plumb media data from renderers up to MediaInternals in the browser process. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Much cleanup and making MediaLog thread safe. Created 9 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: media/base/media_event_types.h
diff --git a/media/base/media_event_types.h b/media/base/media_event_types.h
new file mode 100644
index 0000000000000000000000000000000000000000..f08bf68bf3cd91cd23be4149e10a6fb77387268a
--- /dev/null
+++ b/media/base/media_event_types.h
@@ -0,0 +1,24 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// A list of media events. This file is included by media_log.h multiple times,
jam 2011/07/29 16:08:55 given that there are 5 entries, and all you want i
Scott Franklin 2011/07/29 22:30:25 Sure, I'll fill it in manually. It can always be s
+// hence no header guards. DO NOT include elsewhere.
+
+// A media player has been created or destroyed.
+// Params: none.
+EVENT(CREATED)
+EVENT(DESTROYED)
+
+// A media player is loading a resource.
+// Params:
+// "url": <URL of the resource>
+EVENT(LOAD)
+
+// A media player started playing.
+// Params: none.
+EVENT(PLAY)
+
+// A media player paused playback.
+// Params: none.
+EVENT(PAUSE)

Powered by Google App Engine
This is Rietveld 408576698