Reland "Store callback in DhcpPacFileFetcherChromeos."
Original CL landed at https://crrev.com/c/1073192. Revert (with edits) landed at https://crrev.com/c/1230442. This CL relands the original with the modification that |callback_| is reset in DhcpPacFileFetcherChromeos::Cancel() and OnShutdown(). It is believed that the crashes the original CL caused happened when Fetch() was called after Cancel(), and this modification will prevent that from happening. Kudos to eroman@ for pointing this out at https://crrev.com/c/1230442/3/chromeos/network/dhcp_pac_file_fetcher_chromeos.cc#63 Bug: 882996 Change-Id: I4747004c00fa3ac7a698d7a35c0b52999411adb5 Reviewed-on: https://chromium-review.googlesource.com/1232576Reviewed-by:Steven Bennetts <stevenjb@chromium.org> Commit-Queue: Bence Béky <bnc@chromium.org> Cr-Commit-Position: refs/heads/master@{#592518}
Showing
Please register or sign in to comment