summaryrefslogtreecommitdiffstats
path: root/net/http/http_network_layer.h
diff options
context:
space:
mode:
authorReilly Grant <reillyg@chromium.org>2014-11-17 10:44:23 -0800
committerReilly Grant <reillyg@chromium.org>2014-11-17 18:45:56 +0000
commit4b4bd859cbb841e2b3e731cb73d5689094907291 (patch)
tree9d8288026c2ae01cabaa3bf5c1870c53ac6b6fca /net/http/http_network_layer.h
parent53d757c1af91fed720c355ac1ecdb61e00483dd6 (diff)
downloadchromium_src-4b4bd859cbb841e2b3e731cb73d5689094907291.zip
chromium_src-4b4bd859cbb841e2b3e731cb73d5689094907291.tar.gz
chromium_src-4b4bd859cbb841e2b3e731cb73d5689094907291.tar.bz2
Remove UsbDevice observers on ::Clear and service destruction.
This patch fixes a DCHECK in ObserverBase::AddObserver that catches us adding the same observer to a UsbDevice more than once. This happens if an app gets permission to access a device (ephemerally) and then the application is restarted and the permission is granted again. This issue could also result in a dangling pointer if the UsbDevice object outlives the DevicePermissionManager service. This patch contains the bug fixing component of https://crrev.com/6ec7a5d370b1157b3ef5a37956f59d632f42c091 BUG=433122 R=scheib@chromium.org Review URL: https://codereview.chromium.org/723363002 Cr-Commit-Position: refs/branch-heads/2214@{#65} Cr-Branched-From: 03655fd3f6d72165dc3c9bd2c89807305316fe6c-refs/heads/master@{#303346}
Diffstat (limited to 'net/http/http_network_layer.h')
0 files changed, 0 insertions, 0 deletions