Index: extensions/test/data/api_test/usb/add_event/background.js |
diff --git a/extensions/test/data/api_test/hid/add_event/background.js b/extensions/test/data/api_test/usb/add_event/background.js |
similarity index 77% |
copy from extensions/test/data/api_test/hid/add_event/background.js |
copy to extensions/test/data/api_test/usb/add_event/background.js |
index 2ae0efbb204a679f80c410a6eddb174fb3a1b2fd..11190a1607a9c9d0c72208f1962fc68465bbf335 100644 |
--- a/extensions/test/data/api_test/hid/add_event/background.js |
+++ b/extensions/test/data/api_test/usb/add_event/background.js |
@@ -1,8 +1,8 @@ |
-// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-chrome.hid.onDeviceAdded.addListener(function (device) { |
+chrome.usb.onDeviceAdded.addListener(function (device) { |
Yoyo Zhou
2015/01/21 06:57:43
nit: while you're here, delete the space after fun
Reilly Grant (use Gerrit)
2015/01/22 00:45:01
I swear some linter complained about me not puttin
|
if (device.vendorId == 6353 && device.productId == 22768) { |
chrome.test.sendMessage("success"); |
} else { |