Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(440)

Issue 1556453002: Avoid empty nearby URL list after onboarding by permitting unresolved URLs (Closed)

Created:
4 years, 11 months ago by mattreynolds
Modified:
4 years, 11 months ago
Reviewers:
gone
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Avoid empty nearby URL list after onboarding by permitting unresolved URLs We currently resolve nearby URLs twice, once before showing a "nearby web pages found" notification and once just before displaying the list of nearby URLs. If a URL was not resolvable for the notification we avoid re-resolving it for display. This prevents costly delays at display time as we are only requesting data expected to already be cached by the resolution service. During onboarding (ie, before the user has explicitly opted into the physical web feature) we still scan for nearby URLs but do not resolve them for privacy reasons. This causes all URLs to be considered "unresolvable" immediately after opting in as none have been sent to the resolution service yet. To fix, at display time allow ListUrlsActivity to receive the full list of nearby URLs (including unresolved) only if the resolved list is empty. BUG=529962 Committed: https://crrev.com/dfbf6469013b3c6a94ae6818b87d3ef50ab58b34 Cr-Commit-Position: refs/heads/master@{#367041}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M chrome/android/java/src/org/chromium/chrome/browser/physicalweb/ListUrlsActivity.java View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 8 (3 generated)
mattreynolds
Hi dfalcantara, PTAL It's a one-line bugfix for a corner case in the onboarding flow. ...
4 years, 11 months ago (2015-12-29 01:51:18 UTC) #2
gone
lgtm
4 years, 11 months ago (2015-12-29 01:53:25 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1556453002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1556453002/1
4 years, 11 months ago (2015-12-29 02:03:30 UTC) #5
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 11 months ago (2015-12-29 02:42:09 UTC) #6
commit-bot: I haz the power
4 years, 11 months ago (2015-12-29 02:43:15 UTC) #8
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/dfbf6469013b3c6a94ae6818b87d3ef50ab58b34
Cr-Commit-Position: refs/heads/master@{#367041}

Powered by Google App Engine
This is Rietveld 408576698