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

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..1ecb91a729992228eece00e3e56a06c957076000
--- /dev/null
+++ b/content/browser/resources/media/new/media_internals.js
@@ -0,0 +1,20 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
scherkus (not reviewing) 2013/07/19 18:26:13 nit: it's 2013!
+// // Use of this source code is governed by a BSD-style license that can be
scherkus (not reviewing) 2013/07/19 18:26:13 remove comment craziness here
Ty Overby 2013/07/19 19:14:24 Done.
+// // found in the LICENSE file.
+
+var media = {}
+
+var messagesReceived = 0;
scherkus (not reviewing) 2013/07/19 18:26:13 if we're not using this just remove it imo
+var thunk = function (){
scherkus (not reviewing) 2013/07/19 18:26:13 nit: instead of "thunk" let's be a bit more descri
+ messagesReceived += 1;
+};
+
+media.initialize = thunk;
+media.addAudioStream = thunk;
+media.cacheEntriesByKey = thunk;
+media.onReceiveEverything = thunk;
scherkus (not reviewing) 2013/07/19 18:26:13 nit: don't bother w/ the alignment
+media.onItemDeleted = thunk;
+media.onRendererTerminated = thunk;
+media.onNetUpdate = thunk;
+media.onReceiveConstants = thunk;
+media.onMediaEvent = thunk;

Powered by Google App Engine
This is Rietveld 408576698