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

Unified Diff: device/bluetooth/dbus/fake_bluetooth_device_client.cc

Issue 2627373002: MD Settings: Save and restore scroll position in iron-list (Closed)
Patch Set: Use scrollTop 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: device/bluetooth/dbus/fake_bluetooth_device_client.cc
diff --git a/device/bluetooth/dbus/fake_bluetooth_device_client.cc b/device/bluetooth/dbus/fake_bluetooth_device_client.cc
index cd588b546c8bd537fde514146fcf91b92ab7e11d..ceac2b56285558dce67d96e46a567bff2abc2514 100644
--- a/device/bluetooth/dbus/fake_bluetooth_device_client.cc
+++ b/device/bluetooth/dbus/fake_bluetooth_device_client.cc
@@ -42,7 +42,7 @@ namespace bluez {
namespace {
// Default interval between simulated events.
-const int kSimulationIntervalMs = 750;
+const int kSimulationIntervalMs = 500;
// Minimum and maximum bounds for randomly generated RSSI values.
const int kMinRSSI = -90;
@@ -56,11 +56,11 @@ const int kUnkownPower = 127;
const int kVanishingDevicePairTimeMultiplier = 4;
// Meant to delay a pair request for an observable amount of time.
-const int kIncomingSimulationPairTimeMultiplier = 45;
+const int kIncomingSimulationPairTimeMultiplier = 5;
// Meant to delay a request that asks for pair requests for an observable
// amount of time.
-const int kIncomingSimulationStartPairTimeMultiplier = 30;
+const int kIncomingSimulationStartPairTimeMultiplier = 10;
// This allows the PIN code dialog to be shown for a long enough time to see
// the PIN code UI in detail.

Powered by Google App Engine
This is Rietveld 408576698