Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Issue 2961153003: [CrOS Tether] NetworkList: Remove code which erroneously added Tether networks twice. (Closed)

Created:
3 years, 5 months ago by Kyle Horimoto
Modified:
3 years, 5 months ago
Reviewers:
stevenjb
CC:
chromium-reviews, kalyank, sadrul, Ryan Hansberry, Jeremy Klein, lesliewatkins, jmann
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[CrOS Tether] NetworkList: Remove code which erroneously added Tether networks twice. Tether networks are already included when NetworkStateHandler::GetVisibleNetworkList() is called, so they should not be added twice. This error caused a crash because NetworkList contains several maps from network GUID to another object, and these maps would get out of sync when two networks with the same GUID were included. This CL also removes some unnecessary code which skipped adding Wi-Fi networks which have a tether GUID set. This can no longer happen, since those networks are never returned from NetworkStateHandler after https://codereview.chromium.org/2945643002/. BUG=672263, 737654 Review-Url: https://codereview.chromium.org/2961153003 Cr-Commit-Position: refs/heads/master@{#483249} Committed: https://chromium.googlesource.com/chromium/src/+/ba110b86fcda72e706d03f46c75976018aa80d63

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -16 lines) Patch
M ash/system/network/network_list.cc View 2 chunks +0 lines, -16 lines 0 comments Download

Messages

Total messages: 12 (6 generated)
Kyle Horimoto
3 years, 5 months ago (2017-06-28 20:57:38 UTC) #2
stevenjb
lgtm
3 years, 5 months ago (2017-06-28 22:13:21 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2961153003/1
3 years, 5 months ago (2017-06-28 23:02:36 UTC) #5
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_amd64-generic_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, build has not started yet; ...
3 years, 5 months ago (2017-06-29 01:03:35 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2961153003/1
3 years, 5 months ago (2017-06-29 01:07:14 UTC) #9
commit-bot: I haz the power
3 years, 5 months ago (2017-06-29 01:50:22 UTC) #12
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/ba110b86fcda72e706d03f46c759...

Powered by Google App Engine
This is Rietveld 408576698