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

Issue 2963613002: Remove the (broken and unneeded) 'force_update' option from ServiceWatcher::DiscoverNewDevices. (Closed)

Created:
3 years, 5 months ago by Carlson
Modified:
3 years, 5 months ago
CC:
chromium-reviews, gene
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove the (broken and unneeded) 'force_update' option from ServiceWatcher::DiscoverNewDevices. This removes the race condition detailed in https://bugs.chromium.org/p/chromium/issues/detail?id=737224. BUG=737224 Review-Url: https://codereview.chromium.org/2963613002 Cr-Commit-Position: refs/heads/master@{#483468} Committed: https://chromium.googlesource.com/chromium/src/+/2479e9a225a5620ab403734eec1f206dc50fb599

Patch Set 1 #

Patch Set 2 : Just remove the errant flag altogether instead. #

Patch Set 3 : Update missed callsite in chrome/tools #

Patch Set 4 : Update missed mac .mm file #

Patch Set 5 : Fixup yet another mac site revealed by CQ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -52 lines) Patch
M chrome/browser/devtools/device/cast_device_provider.cc View 1 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/local_discovery/service_discovery_client.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/local_discovery/service_discovery_client_impl.h View 1 3 chunks +2 lines, -3 lines 0 comments Download
M chrome/browser/local_discovery/service_discovery_client_impl.cc View 1 4 chunks +6 lines, -14 lines 0 comments Download
M chrome/browser/local_discovery/service_discovery_client_mac.h View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/local_discovery/service_discovery_client_mac.mm View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/local_discovery/service_discovery_client_mdns.cc View 1 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/local_discovery/service_discovery_client_unittest.cc View 1 2 chunks +1 line, -2 lines 0 comments Download
M chrome/browser/local_discovery/service_discovery_device_lister.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/local_discovery/service_discovery_device_lister.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/media/router/discovery/mdns/dns_sd_device_lister.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/media/router/discovery/mdns/dns_sd_device_lister.cc View 1 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/media/router/discovery/mdns/dns_sd_registry.cc View 1 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/media/router/discovery/mdns/dns_sd_registry_unittest.cc View 1 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/printing/cloud_print/privet_device_lister.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/printing/cloud_print/privet_device_lister_impl.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/printing/cloud_print/privet_device_lister_impl.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/printing/cloud_print/privet_device_lister_unittest.cc View 1 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/printing/cloud_print/privet_local_printer_lister.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/printing/cloud_print/privet_notifications.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc View 1 4 chunks +4 lines, -3 lines 0 comments Download
M chrome/tools/service_discovery_sniffer/service_discovery_sniffer.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 44 (28 generated)
Carlson
After looking at usage and testing I'm reasonably sure this is a sane fix, but ...
3 years, 5 months ago (2017-06-27 21:50:59 UTC) #2
Vitaly Buka (NO REVIEWS)
On 2017/06/27 21:50:59, Carlson wrote: > After looking at usage and testing I'm reasonably sure ...
3 years, 5 months ago (2017-06-27 22:02:55 UTC) #5
Vitaly Buka (NO REVIEWS)
On 2017/06/27 22:02:55, Vitaly Buka (NO REVIEWS) wrote: > On 2017/06/27 21:50:59, Carlson wrote: > ...
3 years, 5 months ago (2017-06-27 22:26:48 UTC) #8
Vitaly Buka (NO REVIEWS)
+seantopping Sean, do you remember why cast uses device_lister_->DiscoverNewDevices(true) ? Maybe we should removed it ...
3 years, 5 months ago (2017-06-27 22:35:00 UTC) #11
seantopping
On 2017/06/27 22:35:00, Vitaly Buka (NO REVIEWS) wrote: > +seantopping > Sean, do you remember ...
3 years, 5 months ago (2017-06-27 22:55:51 UTC) #12
Carlson
On 2017/06/27 22:55:51, seantopping wrote: > On 2017/06/27 22:35:00, Vitaly Buka (NO REVIEWS) wrote: > ...
3 years, 5 months ago (2017-06-27 23:09:43 UTC) #16
Vitaly Buka (NO REVIEWS)
LGTM Thank you. BTW. Does this work for your case?
3 years, 5 months ago (2017-06-27 23:32:18 UTC) #21
Vitaly Buka (NO REVIEWS)
You have not updated *.mm files. OSX bots should detect that.
3 years, 5 months ago (2017-06-27 23:33:51 UTC) #22
Carlson
On 2017/06/27 23:33:51, Vitaly Buka (NO REVIEWS) wrote: > You have not updated *.mm files. ...
3 years, 5 months ago (2017-06-27 23:44:33 UTC) #23
Vitaly Buka (NO REVIEWS)
lgtm
3 years, 5 months ago (2017-06-27 23:45:11 UTC) #24
Carlson
pfeldman@ can you do OWNERS signoff for the fixups in //c/b/devtools? apacible@ can you do ...
3 years, 5 months ago (2017-06-27 23:47:08 UTC) #26
apacible
c/b/media/router lgtm
3 years, 5 months ago (2017-06-28 07:46:50 UTC) #35
Carlson
Apparently pfeldman is OOO, dgozman, can you sign off on the callsite fixups in //c/b/devtools?
3 years, 5 months ago (2017-06-29 18:27:55 UTC) #37
dgozman
devtools lgtm
3 years, 5 months ago (2017-06-29 18:58:51 UTC) #38
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/2963613002/80001
3 years, 5 months ago (2017-06-29 19:03:10 UTC) #41
commit-bot: I haz the power
3 years, 5 months ago (2017-06-29 20:22:06 UTC) #44
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/2479e9a225a5620ab403734eec1f...

Powered by Google App Engine
This is Rietveld 408576698