forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Treat public slot keys as stored on user token
Keys that are stored on a user's public token are now recognized by GetKeyLocations. If no locations were found for a key, KeyPermissions::CanUserGrantPermissionsFor now returns false as a safeguard. A mechanism was introduced in nss_util.cc to simulate a separate private slot in Chrome OS browsertests. Bug: 839573 Test: browser_tests --gtest_filter=*PlatformKeysTest* Change-Id: If8b4cd4ef3a5763dd37a158426ec3cf87e1d10ae Reviewed-on: https://chromium-review.googlesource.com/1047208 Reviewed-by: Xiyuan Xia <xiyuan@chromium.org> Reviewed-by: David Benjamin <davidben@chromium.org> Reviewed-by: Maksim Ivanov <emaxx@chromium.org> Reviewed-by: Matt Mueller <mattm@chromium.org> Commit-Queue: Pavol Marko <pmarko@chromium.org> Cr-Commit-Position: refs/heads/master@{#557667}
- Loading branch information
Pavol Marko
authored and
Commit Bot
committed
May 10, 2018
1 parent
00fdce3
commit 725eaa4
Showing
7 changed files
with
204 additions
and
51 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
Oops, something went wrong.