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

Unified Diff: content/browser/resources/media/new/media_internals.js

Issue 19722011: Added a placeholder new media-internals page under a flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 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: content/browser/resources/media/new/media_internals.js
diff --git a/content/browser/resources/media/new/media_internals.js b/content/browser/resources/media/new/media_internals.js
new file mode 100644
index 0000000000000000000000000000000000000000..8060ca4a984fda15d268a00e229b9866fa3c5aac
--- /dev/null
+++ b/content/browser/resources/media/new/media_internals.js
@@ -0,0 +1,16 @@
+var media = {}
scherkus (not reviewing) 2013/07/19 01:58:49 copyright
Ty Overby 2013/07/19 17:48:00 Done.
+
+var messagesReceived = 0;
+var thunk = function (){
+ messagesReceived += 1;
+};
+
+media.initialize = thunk;
scherkus (not reviewing) 2013/07/19 01:58:49 OOC do we need these to make things work w/ the em
Ty Overby 2013/07/19 17:48:00 It keeps 'method media.onMediaEvent' from being sp
+media.addAudioStream = thunk;
+media.cacheEntriesByKey = thunk;
+media.onReceiveEverything = thunk;
+media.onItemDeleted = thunk;
+media.onRendererTerminated = thunk;
+media.onNetUpdate = thunk;
+media.onReceiveConstants = thunk;
+media.onMediaEvent = thunk;

Powered by Google App Engine
This is Rietveld 408576698