diff options
author | mmocny <mmocny@chromium.org> | 2015-12-09 15:11:19 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-12-09 23:12:58 +0000 |
commit | 3823b88bc9c487f05c0ff51f733ea7ee96bbd05a (patch) | |
tree | a5db770780da74e4433c94d756186e2a9fbd0ade /gpu/command_buffer/common/gles2_cmd_utils.h | |
parent | d0a2c17a2c36f920926ca6eac2bf717ad75a1cac (diff) | |
download | chromium_src-3823b88bc9c487f05c0ff51f733ea7ee96bbd05a.zip chromium_src-3823b88bc9c487f05c0ff51f733ea7ee96bbd05a.tar.gz chromium_src-3823b88bc9c487f05c0ff51f733ea7ee96bbd05a.tar.bz2 |
Change PW to track Nearby/Resolved URLs separately
Previously we would keep a cached list of nearby URLs (as found via
Bluetooth scans), and not store the list of URLs which were properly
resolved via the Physical Web Service. Instead we would make network
calls each time for the full set.
This change introduces a separate cache for known resolved URLs,
enabling a few improvements:
- PWS resolves are now sent 1 URL at a time, which is more efficient and
allows out-of-order replies when we find multiple beacons at once.
- We can create a notification right away if we find a beacon which we
have ever resolved in the past.
- When the notification is clicked, we only display the known resolved
URLs, showing us results faster.
BUG=529962
Review URL: https://codereview.chromium.org/1483653002
Cr-Commit-Position: refs/heads/master@{#364197}
Diffstat (limited to 'gpu/command_buffer/common/gles2_cmd_utils.h')
0 files changed, 0 insertions, 0 deletions