[Nearby] Local device data updater returns null response on failure
Instead of returning a separate |success| parameter from the local device data updater, return base::nullopt for the response if the update fails. Bug: b/157685298 Change-Id: I653a23cc8e6391ee016540bbb7d46ca58755db3a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2310318 Commit-Queue: Josh Nohle <nohle@chromium.org> Reviewed-by:James Vecore <vecore@google.com> Cr-Commit-Position: refs/heads/master@{#790916}
Showing
Please register or sign in to comment