Chromium Code Reviews
DescriptionDefer NetworkConfigurationHandler::CreateShillConfiguration callback
Currently the code calls the NetworkConfigurationHandler
::CreateShillConfiguration callback immediately, which is only
valid if Shill updates Chrome with the new network configuration
in the same frame as the configuration was applied. At some point
the Shill behavior Chrome, breaking the (fragile) Chrome network
cofiguration layer. This CL defers the configuration success
callback until the NetworkStateHandler has been updated with
the new configuration (allowing a subsequent connection attempt
to succeed).
This CL also replaces SupportsWeakPtr with the more reliable WeakPtrFactory (apologies for the churn).
BUG=662571
Review-Url: https://codereview.chromium.org/2679423008
Cr-Commit-Position: refs/heads/master@{#449787}
Committed: https://chromium.googlesource.com/chromium/src/+/4be001fc71af06d07cb05c30e4b0665efadefed5
Patch Set 1 #
Total comments: 10
Patch Set 2 : Remove observer and fix/clarify comments #
Total comments: 2
Patch Set 3 : Remove observer in OnShuttingDown #Patch Set 4 : Fix tests #
Total comments: 2
Messages
Total messages: 18 (7 generated)
|