This will let the consuming browser know whether there is a device that corresponds to the URL.
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/06617f6e14805e099200670ea964025a66f316b6 commit 06617f6e14805e099200670ea964025a66f316b6 Author: cco3 <cco3@chromium.org> Date: Wed Dec 07 01:36:54 2016 Don't cache invalid serialized Physical Web URLs Currently, when the UrlManager starts, it deserializes our stored UrlInfos and attempts to gracefully fail if one cannot be deserialized. However, the URL the info corresponds to may be contained in some still existent cache. This change makes sure that only URLs that are properly deserialized are stored. BUG= 671400 Review-Url: https://codereview.chromium.org/2550293003 Cr-Commit-Position: refs/heads/master@{#436825} [modify] https://crrev.com/06617f6e14805e099200670ea964025a66f316b6/chrome/android/java/src/org/chromium/chrome/browser/physicalweb/UrlManager.java [modify] https://crrev.com/06617f6e14805e099200670ea964025a66f316b6/chrome/android/javatests/src/org/chromium/chrome/browser/physicalweb/UrlManagerTest.java
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/05eaec60267085699bc11943ff9c6a87be3f6039 commit 05eaec60267085699bc11943ff9c6a87be3f6039 Author: cco3 <cco3@chromium.org> Date: Wed Dec 07 01:38:32 2016 Refactor Nearby Message listener Instead of putting the Nearby Message listener directly in the IntentService, we place it in the PhysicalWebBleClient so that we can override it with other versions of the listener. BUG= 671400 Review-Url: https://codereview.chromium.org/2552143002 Cr-Commit-Position: refs/heads/master@{#436826} [modify] https://crrev.com/05eaec60267085699bc11943ff9c6a87be3f6039/chrome/android/java/src/org/chromium/chrome/browser/physicalweb/NearbyMessageIntentService.java [modify] https://crrev.com/05eaec60267085699bc11943ff9c6a87be3f6039/chrome/android/java/src/org/chromium/chrome/browser/physicalweb/PhysicalWebBleClient.java
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/6c7a178410cdddd4601d31d9f73b695d3f2c62bc commit 6c7a178410cdddd4601d31d9f73b695d3f2c62bc Author: cco3 <cco3@chromium.org> Date: Wed Dec 07 01:40:42 2016 Store device addresses in UrlInfo This change associates bluetooth device addresses with Physical Web URLs. This will be useful for populating intents used for establishing connections with bluetooth devices. BUG= 671400 Review-Url: https://codereview.chromium.org/2557593003 Cr-Commit-Position: refs/heads/master@{#436828} [modify] https://crrev.com/6c7a178410cdddd4601d31d9f73b695d3f2c62bc/chrome/android/java/src/org/chromium/chrome/browser/physicalweb/UrlInfo.java [modify] https://crrev.com/6c7a178410cdddd4601d31d9f73b695d3f2c62bc/chrome/android/java/src/org/chromium/chrome/browser/physicalweb/UrlManager.java [modify] https://crrev.com/6c7a178410cdddd4601d31d9f73b695d3f2c62bc/chrome/android/javatests/src/org/chromium/chrome/browser/physicalweb/UrlInfoTest.java [modify] https://crrev.com/6c7a178410cdddd4601d31d9f73b695d3f2c62bc/chrome/android/javatests/src/org/chromium/chrome/browser/physicalweb/UrlManagerTest.java
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/071c8d5f611a0e60c3521feecbdf868a2361fdd4 commit 071c8d5f611a0e60c3521feecbdf868a2361fdd4 Author: cco3 <cco3@chromium.org> Date: Thu Dec 08 19:05:36 2016 Include BT addresses in Intents from Physical Web This change uses BluetoothDevice.EXTRA_DEVICE to include the bluetooth address of a Physical Web device in the intent sent to the browser. This may be used by the browser to enable more seamless connections to BT devices. BUG= 671400 Review-Url: https://codereview.chromium.org/2548353004 Cr-Commit-Position: refs/heads/master@{#437300} [modify] https://crrev.com/071c8d5f611a0e60c3521feecbdf868a2361fdd4/chrome/android/java/src/org/chromium/chrome/browser/physicalweb/ListUrlsActivity.java [modify] https://crrev.com/071c8d5f611a0e60c3521feecbdf868a2361fdd4/chrome/android/javatests/src/org/chromium/chrome/browser/physicalweb/ListUrlsActivityTest.java
The following revision refers to this bug: https://chrome-internal.googlesource.com/clank/internal/apps/+/9a6aa2f4a27cba56ecd5683fcbbfa561cc7b5435 commit 9a6aa2f4a27cba56ecd5683fcbbfa561cc7b5435 Author: Conley Owens <cco3@google.com> Date: Wed Dec 07 02:01:02 2016
Comment 1 by bugdroid1@chromium.org
, Dec 7 2016