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

Unified Diff: chrome/test/data/extensions/api_test/cast_streaming/basics.js

Issue 184853003: Cast: Add GetStats() extensions API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: static cast to int Created 6 years, 9 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: chrome/test/data/extensions/api_test/cast_streaming/basics.js
diff --git a/chrome/test/data/extensions/api_test/cast_streaming/basics.js b/chrome/test/data/extensions/api_test/cast_streaming/basics.js
index f6cd491f1403dc5eb68627b95d1022075441423c..2e413c94f26f53e57c10d19e1ce12bb966e37867 100644
--- a/chrome/test/data/extensions/api_test/cast_streaming/basics.js
+++ b/chrome/test/data/extensions/api_test/cast_streaming/basics.js
@@ -45,11 +45,11 @@ chrome.test.runTests([
stateMachine.onAllStopped =
pass(function(audioId, videoId) {
rtpStream.getRawEvents(audioId,
- stateMachine.onGotRawEvents.bind(stateMachine, audioId));
+ stateMachine.onGotLogs.bind(stateMachine, audioId));
rtpStream.getRawEvents(videoId,
- stateMachine.onGotRawEvents.bind(stateMachine, videoId));
+ stateMachine.onGotLogs.bind(stateMachine, videoId));
}.bind(null, audioId, videoId));
- stateMachine.onGotAllRawEvents =
+ stateMachine.onGotAllLogs =
pass(function(stream, audioId, videoId, udpId) {
console.log("Disabling logging.");
rtpStream.toggleLogging(audioId, false);
« no previous file with comments | « chrome/renderer/media/cast_session_delegate.cc ('k') | chrome/test/data/extensions/api_test/cast_streaming/common.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698