OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 onload = function() { | |
6 chrome.test.runTests([ | |
7 function receiveNewDevice() { | |
8 chrome.gcdPrivate.onCloudDeviceStateChanged.addListener( | |
9 function(available, device) {}); | |
10 | |
11 chrome.gcdPrivate.queryForNewLocalDevices(); | |
12 chrome.test.notifyPass(); | |
13 }]); | |
14 }; | |
OLD | NEW |