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

Unified Diff: chrome/test/data/webui/settings/fake_bluetooth.js

Issue 2655043005: MD Settings: Bluetooth: Move device list to subpage (Closed)
Patch Set: Fix clang, ES6 Created 3 years, 11 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
Index: chrome/test/data/webui/settings/fake_bluetooth.js
diff --git a/chrome/test/data/webui/settings/fake_bluetooth.js b/chrome/test/data/webui/settings/fake_bluetooth.js
index b547c933cf6421baf4637dbbcfd0fe6fb72a98c7..bda3e4daa40d43a59fb0e52019868a48b746dec7 100644
--- a/chrome/test/data/webui/settings/fake_bluetooth.js
+++ b/chrome/test/data/webui/settings/fake_bluetooth.js
@@ -47,9 +47,7 @@ cr.define('settings', function() {
// Bluetooth overrides.
/** @override */
getAdapterState: function(callback) {
- setTimeout(function() {
- callback(this.adapterState);
- }.bind(this));
+ callback(this.adapterState);
},
/** @override */
@@ -57,9 +55,7 @@ cr.define('settings', function() {
/** @override */
getDevices: function(callback) {
- setTimeout(function() {
- callback(this.devices);
- }.bind(this));
+ callback(this.devices);
},
/** @override */

Powered by Google App Engine
This is Rietveld 408576698