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

Side by Side Diff: chrome/test/data/extensions/api_test/webrtc_cast/basics.js

Issue 47303005: Implement native bindings for cast extensions API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix build again Created 7 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/renderer/resources/extensions/webrtc_cast_send_transport_custom_bindings.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 chrome.test.runTests([ 5 chrome.test.runTests([
6 function udpTransport() { 6 function udpTransport() {
7 chrome.webrtc.castUdpTransport.create(function(info) { 7 chrome.webrtc.castUdpTransport.create(function(info) {
8 chrome.webrtc.start(info.transportId, 8 chrome.webrtc.castUdpTransport.start(
9 {address: "127.0.0.1", port: 60613}); 9 info.transportId,
10 chrome.webrtc.stop(info.transportId); 10 {address: "127.0.0.1", port: 60613});
11 chrome.webrtc.destroy(info.transportId); 11 chrome.webrtc.castUdpTransport.stop(info.transportId);
12 chrome.webrtc.castUdpTransport.destroy(info.transportId);
12 chrome.test.succeed(); 13 chrome.test.succeed();
13 }); 14 });
14 // TODO(hclam): Remove this line when the API is actually working.
15 // This is there so the test can finish.
16 chrome.test.succeed();
17 } 15 }
18 ]); 16 ]);
OLDNEW
« no previous file with comments | « chrome/renderer/resources/extensions/webrtc_cast_send_transport_custom_bindings.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698