Network config: Elim bogus profile path unknown errors
Currently calls to FindPolicyByGuidAndProfile produce an error when called with an empty profile path. There are several places where this can occur, but we recently added one to the system tray UI: https://chromium-review.googlesource.com/c/chromium/src/+/1101204/12/ash/system/network/network_list.cc#813 Rather than ensure that we test for an empty profile path everywhere (which just indicates a non favorite/saved network), just return nullptr with no error when the path is empty. Bug: None Change-Id: I692babc10ae2472e8fa5dbfef1c8be170cc841b2 Reviewed-on: https://chromium-review.googlesource.com/1149096Reviewed-by:Alexander Hendrich <hendrich@chromium.org> Reviewed-by:
Steven Bennetts <stevenjb@chromium.org> Commit-Queue: Steven Bennetts <stevenjb@chromium.org> Cr-Commit-Position: refs/heads/master@{#577936}
Showing
Please register or sign in to comment