| Index: chrome/browser/signin/easy_unlock_service.cc
|
| diff --git a/chrome/browser/signin/easy_unlock_service.cc b/chrome/browser/signin/easy_unlock_service.cc
|
| index c07f85bc75048f72685b024f22adad0cf5707d35..b9240aac38ecb933303877d3fd8ac34f247ecf4a 100644
|
| --- a/chrome/browser/signin/easy_unlock_service.cc
|
| +++ b/chrome/browser/signin/easy_unlock_service.cc
|
| @@ -290,7 +290,15 @@ void EasyUnlockService::Initialize() {
|
| base::Bind(&EasyUnlockService::OnPrefsChanged, base::Unretained(this)));
|
| OnPrefsChanged();
|
|
|
| +#if defined(OS_CHROMEOS)
|
| + // Only start Bluetooth detection for ChromeOS since the feature is
|
| + // only offered on ChromeOS. Enabling this on non-ChromeOS platforms
|
| + // previously introduced a performance regression: http://crbug.com/404482
|
| + // Make sure not to reintroduce a performance regression if re-enabling on
|
| + // additional platforms.
|
| + // TODO(xiyuan): Revisit when non-chromeos platforms are supported.
|
| bluetooth_detector_->Initialize();
|
| +#endif // defined(OS_CHROMEOS)
|
| }
|
|
|
| void EasyUnlockService::LoadApp() {
|
|
|