Reland 'Smart Lock: Remove authToken listeners'
This change previously landed at crrev.com/c/1484495, but was reverted at crrev.com/c/1491658 because of a test failure. This relands the original CL with a fix for the test. Patch 4 is the original CL, and Patch 5 is the fix. Text of the original CL: This is a necessary change now that Polymer 2 is enabled. Previously, Multidevice and Smart Lock pages were being informed of an authToken change by their child element passwordPrompt, but that is no longer bubbling up to the parent. Now, explicitly bind to the authToken of passwordPrompt as a property, and use it when the dialog close event is fired. As a consequence of this, the authTokenChanged() callbacks in both parents is unnecessary and has been removed. Bug: 934987 Change-Id: Iae34ae9677fe555264c9a59b05f4b9f184fad324 Reviewed-on: https://chromium-review.googlesource.com/c/1492362 Commit-Queue: Ryan Hansberry <hansberry@chromium.org> Reviewed-by:Kyle Horimoto <khorimoto@chromium.org> Cr-Commit-Position: refs/heads/master@{#636283}
Showing
Please register or sign in to comment