Chromium Code Reviews
DescriptionAdd PhysicalWeb.updateScans()
This updateScans method simplifies the environment checks needed before
beginning or ending a scan. Instead of each code path that may begin
or end a scan checking permissions by itself, based on what event has
just occurred, this method will check and update scans as needed.
This paves the way for an upgraded scanning API that will let client
code to the Physical Web request different scan policies. On each
request, we will be able to simply call updateScans().
BUG=703308
Review-Url: https://codereview.chromium.org/2762733002
Cr-Commit-Position: refs/heads/master@{#458254}
Committed: https://chromium.googlesource.com/chromium/src/+/73b7f2fce6f5ef21212bb6482fd5cfa7ec9344f6
Patch Set 1 #
Total comments: 2
Patch Set 2 : Fix location check #
Total comments: 2
Patch Set 3 : Add javadoc #Patch Set 4 : Remove dead store #
Messages
Total messages: 19 (9 generated)
|
|||||||||||||||||||||||||||||||||||||