|
|
Created:
6 years, 4 months ago by xiyuan Modified:
6 years, 4 months ago Reviewers:
Ilya Sherman CC:
chromium-reviews, armansito Base URL:
svn://svn.chromium.org/chrome/trunk/src Project:
chromium Visibility:
Public. |
DescriptionEasyUnlock: Only do Bluetooth detection for chromeos.
Bluetooth detection on Mac triggers 500ms adapter polling and causes
performance regression. Since Easy unlock is only offered on ChromeOS
at the moment, disable Bluetooth detection for other platforms while
the polling problem is investigated.
BUG=404482, 399067
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=291409
Patch Set 1 #Patch Set 2 : fix wrong condition #
Total comments: 6
Patch Set 3 : fix nits #Messages
Total messages: 18 (0 generated)
isherman@, could you also try it on Mac? Thanks.
LGTM % nits. https://codereview.chromium.org/498453002/diff/40001/chrome/browser/signin/ea... File chrome/browser/signin/easy_unlock_service.cc (right): https://codereview.chromium.org/498453002/diff/40001/chrome/browser/signin/ea... chrome/browser/signin/easy_unlock_service.cc:294: // Only starts Bluetooth detection for ChromeOS since the feature is nit: starts -> start https://codereview.chromium.org/498453002/diff/40001/chrome/browser/signin/ea... chrome/browser/signin/easy_unlock_service.cc:295: // only offered at ChromeOS. Note that http://crbug.com/404482 should be nit: at -> on https://codereview.chromium.org/498453002/diff/40001/chrome/browser/signin/ea... chrome/browser/signin/easy_unlock_service.cc:296: // checked and make sure we don't regress when re-enabling this, nit: "Enabling this on non-ChromeOS platforms previously introduced a performance regression: http://crbug.com/NNNNNN. Make sure not to reintroduce a performance regression if re-enabling on additional platforms."
https://codereview.chromium.org/498453002/diff/40001/chrome/browser/signin/ea... File chrome/browser/signin/easy_unlock_service.cc (right): https://codereview.chromium.org/498453002/diff/40001/chrome/browser/signin/ea... chrome/browser/signin/easy_unlock_service.cc:294: // Only starts Bluetooth detection for ChromeOS since the feature is On 2014/08/22 01:27:19, Ilya Sherman wrote: > nit: starts -> start Done. https://codereview.chromium.org/498453002/diff/40001/chrome/browser/signin/ea... chrome/browser/signin/easy_unlock_service.cc:295: // only offered at ChromeOS. Note that http://crbug.com/404482 should be On 2014/08/22 01:27:19, Ilya Sherman wrote: > nit: at -> on Done. https://codereview.chromium.org/498453002/diff/40001/chrome/browser/signin/ea... chrome/browser/signin/easy_unlock_service.cc:296: // checked and make sure we don't regress when re-enabling this, On 2014/08/22 01:27:19, Ilya Sherman wrote: > nit: "Enabling this on non-ChromeOS platforms previously introduced a > performance regression: http://crbug.com/NNNNNN. Make sure not to reintroduce a > performance regression if re-enabling on additional platforms." Done.
I've also double-checked that this does indeed prevent polling on Mac, as one would expect :)
On 2014/08/22 03:29:55, Ilya Sherman wrote: > I've also double-checked that this does indeed prevent polling on Mac, as one > would expect :) Thank you for checking it out. That brings peace to my mind.
The CQ bit was checked by xiyuan@chromium.org
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xiyuan@chromium.org/498453002/60001
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_tests_recipe on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_dbg_tes...) linux_chromium_chromeos_rel_swarming on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: android_dbg_tests_recipe on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_dbg_tes...)
The CQ bit was checked by isherman@chromium.org
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xiyuan@chromium.org/498453002/60001
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_tests_recipe on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_dbg_tes...)
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: android_dbg_tests_recipe on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_dbg_tes...)
The CQ bit was checked by xiyuan@chromium.org
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xiyuan@chromium.org/498453002/60001
Message was sent while issue was closed.
Committed patchset #3 (60001) as 291409 |