forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reland: [iOS] Make password leak checks toggleable when Safe Browsing…
… is not available This relands r776646 (previously reviewed at http://crrev.com/c/2237716), with test fixes: 1. On the settings pages, scroll up when needed (on small devices) to make the Safe Browsing and password leak check items visible. 2. In testTogglePasswordLeakCheckWhenSafeBrowsingNotAvailable, add coverage for the case where a user opts-out of Safe Browsing on another device. Description of previous CL: This CL fixes a regression from http://crrev.com/c/2174995 that prevents users who do not yet have Safe Browsing rolled out to them from toggling the password leak check setting. This CL ensures that the value of the Safe Browsing opt-out pref is always initialized in GoogleServicesSettingsMediator, regardless of whether Safe Browsing has been rolled out. With this change, the other logic changes in http://crrev.com/c/2174995 work as expected, whether or not Safe Browsing is available. Bug: 1090406, 1093306 Change-Id: Id511dc339be146bcc15d865d90feb5cf93369b51 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2239300 Reviewed-by: Sergio Collazos <sczs@chromium.org> Commit-Queue: Ali Juma <ajuma@chromium.org> Cr-Commit-Position: refs/heads/master@{#776981}
- Loading branch information
Showing
5 changed files
with
167 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters