| Index: chrome/test/data/extensions/api_test/cast_streaming/common.js
|
| diff --git a/chrome/test/data/extensions/api_test/cast_streaming/common.js b/chrome/test/data/extensions/api_test/cast_streaming/common.js
|
| index 2862b17f6317042ad108f7274e79bc61558c770a..76f41116131b2663706183e05d78b8665ca4f990 100644
|
| --- a/chrome/test/data/extensions/api_test/cast_streaming/common.js
|
| +++ b/chrome/test/data/extensions/api_test/cast_streaming/common.js
|
| @@ -33,8 +33,7 @@ TestStateMachine.prototype.onStopped = function(id) {
|
| this.onAllStopped();
|
| }
|
|
|
| -TestStateMachine.prototype.onGotLogs = function(id, data) {
|
| - chrome.test.assertTrue(!!data);
|
| +TestStateMachine.prototype.onGotLogs = function(id) {
|
| if (id == this.audioId)
|
| this.gotAudioLogs = true;
|
| if (id == this.videoId)
|
| @@ -43,3 +42,12 @@ TestStateMachine.prototype.onGotLogs = function(id, data) {
|
| this.onGotAllLogs();
|
| }
|
|
|
| +TestStateMachine.prototype.onGotRawEvents = function(id, data) {
|
| + chrome.test.assertTrue(data.byteLength > 0);
|
| + this.onGotLogs(id);
|
| +}
|
| +TestStateMachine.prototype.onGotStats = function(id, data) {
|
| + chrome.test.assertTrue(!!data);
|
| + this.onGotLogs(id);
|
| +}
|
| +
|
|
|