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

Unified Diff: trunk/src/chrome/test/data/extensions/api_test/bluetooth/on_connection/runtest.js

Issue 227493006: Revert 262175 "* Replace "read" method with onReceiveXxx events." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 8 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « trunk/src/chrome/common/extensions/api/bluetooth.idl ('k') | trunk/src/device/bluetooth/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/chrome/test/data/extensions/api_test/bluetooth/on_connection/runtest.js
===================================================================
--- trunk/src/chrome/test/data/extensions/api_test/bluetooth/on_connection/runtest.js (revision 262179)
+++ trunk/src/chrome/test/data/extensions/api_test/bluetooth/on_connection/runtest.js (working copy)
@@ -18,8 +18,8 @@
function(socket) {
deviceName = socket.device.name;
deviceAddress = socket.device.address;
- profileUuid = socket.uuid;
- chrome.bluetooth.disconnect({'socketId': socket.id});
+ profileUuid = socket.profile.uuid;
+ chrome.bluetooth.disconnect({'socket': socket});
});
chrome.test.sendMessage('ready',
« no previous file with comments | « trunk/src/chrome/common/extensions/api/bluetooth.idl ('k') | trunk/src/device/bluetooth/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698