Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / chrome / test / data / extensions / api_test / gcd_private / api / remove_device.js
blobaf281bf217347022ef033b88031cb44ed7b710fa
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.
5 onload = function() {
6 chrome.test.runTests([
7 function addRemoveDevice() {
8 chrome.gcdPrivate.onDeviceRemoved.addListener(
9 function(deviceId) {
10 chrome.test.assertEq(deviceId,
11 "mdns:myService._privet._tcp.local");
12 chrome.test.notifyPass();
14 }]);