NetworkConnectionHandler::ConnectToNetwork: support immediate succeed
This adds a parameter to ConnectToNetwork 'succeed_on_send_connect'. If set, ConnectToNetwork will call the 'success' callback as soon as a connect request is sent to Shill (if there were no configuration errors) instead of after the connect succeeds. This is used by the networkingPrivate implementation to more correctly implement the API. This CL causes the Settings based network config UI to close its dialog when the connection starts. Bug: 795715 For minor changes to comonents/arc/net: TBR=hidehiko@chromium.org Change-Id: I5de65a32a46d57dc628c65542a275505d4d7c944 Reviewed-on: https://chromium-review.googlesource.com/875002Reviewed-by:Toni Barzic <tbarzic@chromium.org> Reviewed-by:
Devlin <rdevlin.cronin@chromium.org> Commit-Queue: Steven Bennetts <stevenjb@chromium.org> Cr-Commit-Position: refs/heads/master@{#530661}
Showing
Please register or sign in to comment