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 2713073002: [CrOS Tether] Create HostScanDevicePrioritizer, a class which prioritizes the order of connection a… (Closed)

Created:
3 years, 10 months ago by Kyle Horimoto
Modified:
3 years, 9 months ago
CC:
chromium-reviews, jlklein+watch-tether_chromium.org, tengs+watch-tether_chromium.org, hansberry+watch-tether_chromium.org, jhawkins+watch-tether_chromium.org, oshima+watch_chromium.org, khorimoto+watch-tether_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[CrOS Tether] Create HostScanDevicePrioritizer, a class which prioritizes the order of connection attempts to tether hosts. This change ensures that CrOS devices attempt to connect to devices which have worked in the past before attempting to connect to devices which have not been used before. BUG=672263 Review-Url: https://codereview.chromium.org/2713073002 Cr-Commit-Position: refs/heads/master@{#453024} Committed: https://chromium.googlesource.com/chromium/src/+/f788c53efa1ace1ef43714293ee37b844fc9e67a

Patch Set 1 #

Total comments: 10

Patch Set 2 : hansberry@ comments. #

Total comments: 4

Patch Set 3 : tengs@ comments. #

Patch Set 4 : Add dep. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+354 lines, -0 lines) Patch
M chromeos/components/tether/BUILD.gn View 1 2 3 5 chunks +7 lines, -0 lines 0 comments Download
A chromeos/components/tether/host_scan_device_prioritizer.h View 1 2 1 chunk +62 lines, -0 lines 0 comments Download
A chromeos/components/tether/host_scan_device_prioritizer.cc View 1 2 1 chunk +116 lines, -0 lines 0 comments Download
A chromeos/components/tether/host_scan_device_prioritizer_unittest.cc View 1 2 1 chunk +115 lines, -0 lines 0 comments Download
A chromeos/components/tether/pref_names.h View 1 chunk +31 lines, -0 lines 0 comments Download
A chromeos/components/tether/pref_names.cc View 1 chunk +23 lines, -0 lines 0 comments Download

Messages

Total messages: 67 (34 generated)
Kyle Horimoto
3 years, 10 months ago (2017-02-24 02:23:50 UTC) #2
Ryan Hansberry
lgtm with nits. I essentially am rubber-stamping the parts with Prefs -- please ask for ...
3 years, 10 months ago (2017-02-24 16:00:17 UTC) #3
Kyle Horimoto
https://codereview.chromium.org/2713073002/diff/1/chromeos/components/tether/host_scan_device_prioritizer.cc File chromeos/components/tether/host_scan_device_prioritizer.cc (right): https://codereview.chromium.org/2713073002/diff/1/chromeos/components/tether/host_scan_device_prioritizer.cc#newcode45 chromeos/components/tether/host_scan_device_prioritizer.cc:45: updated_ids->Remove(*device_id_value, &unused_index); On 2017/02/24 16:00:17, Ryan Hansberry wrote: > ...
3 years, 10 months ago (2017-02-24 18:02:59 UTC) #4
kkhorimoto
lgtm
3 years, 10 months ago (2017-02-24 18:49:05 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/2713073002/20001
3 years, 10 months ago (2017-02-24 18:49:39 UTC) #9
Tim Song
https://codereview.chromium.org/2713073002/diff/20001/chromeos/components/tether/host_scan_device_prioritizer.cc File chromeos/components/tether/host_scan_device_prioritizer.cc (right): https://codereview.chromium.org/2713073002/diff/20001/chromeos/components/tether/host_scan_device_prioritizer.cc#newcode87 chromeos/components/tether/host_scan_device_prioritizer.cc:87: for (size_t i = prioritized_ids->GetSize(); i-- > 0;) { ...
3 years, 10 months ago (2017-02-24 18:57:40 UTC) #12
Kyle Horimoto
https://codereview.chromium.org/2713073002/diff/20001/chromeos/components/tether/host_scan_device_prioritizer.cc File chromeos/components/tether/host_scan_device_prioritizer.cc (right): https://codereview.chromium.org/2713073002/diff/20001/chromeos/components/tether/host_scan_device_prioritizer.cc#newcode87 chromeos/components/tether/host_scan_device_prioritizer.cc:87: for (size_t i = prioritized_ids->GetSize(); i-- > 0;) { ...
3 years, 10 months ago (2017-02-24 19:21:30 UTC) #13
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/2713073002/40001
3 years, 10 months ago (2017-02-24 19:22:03 UTC) #16
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_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_amd64-generic_chromium_compile_only_ng/builds/289017) chromeos_daisy_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_FAILED, ...
3 years, 10 months ago (2017-02-24 19:29:43 UTC) #18
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/2713073002/40001
3 years, 10 months ago (2017-02-24 19:35:33 UTC) #20
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_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_amd64-generic_chromium_compile_only_ng/builds/289036) linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, ...
3 years, 10 months ago (2017-02-24 19:41:54 UTC) #22
Tim Song
lgtm
3 years, 10 months ago (2017-02-24 19:42:46 UTC) #24
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/2713073002/40001
3 years, 10 months ago (2017-02-24 19:43:18 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/372159)
3 years, 10 months ago (2017-02-24 19:50:21 UTC) #27
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/2713073002/40001
3 years, 10 months ago (2017-02-24 19:52:04 UTC) #29
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_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_amd64-generic_chromium_compile_only_ng/builds/289069) chromeos_daisy_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_FAILED, ...
3 years, 10 months ago (2017-02-24 19:59:20 UTC) #31
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/2713073002/40001
3 years, 10 months ago (2017-02-24 20:09:23 UTC) #33
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_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_amd64-generic_chromium_compile_only_ng/builds/289091) chromeos_daisy_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_FAILED, ...
3 years, 10 months ago (2017-02-24 20:19:39 UTC) #35
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/2713073002/40001
3 years, 10 months ago (2017-02-24 20:57:46 UTC) #37
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_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_amd64-generic_chromium_compile_only_ng/builds/289134) linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, ...
3 years, 10 months ago (2017-02-24 21:04:07 UTC) #39
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/2713073002/40001
3 years, 10 months ago (2017-02-24 21:10:12 UTC) #41
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_daisy_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_daisy_chromium_compile_only_ng/builds/288812) linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, ...
3 years, 10 months ago (2017-02-24 21:16:43 UTC) #43
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/2713073002/40001
3 years, 10 months ago (2017-02-24 21:19:41 UTC) #45
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_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_amd64-generic_chromium_compile_only_ng/builds/289166)
3 years, 10 months ago (2017-02-24 21:28:03 UTC) #47
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/2713073002/40001
3 years, 10 months ago (2017-02-24 21:30:02 UTC) #49
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_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_amd64-generic_chromium_compile_only_ng/builds/289177) linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, ...
3 years, 10 months ago (2017-02-24 21:36:47 UTC) #51
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/2713073002/40001
3 years, 10 months ago (2017-02-24 21:38:46 UTC) #53
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_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_amd64-generic_chromium_compile_only_ng/builds/289186) linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, ...
3 years, 10 months ago (2017-02-24 21:45:03 UTC) #55
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/2713073002/40001
3 years, 10 months ago (2017-02-24 21:51:50 UTC) #57
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_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_amd64-generic_chromium_compile_only_ng/builds/289200) chromeos_daisy_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_FAILED, ...
3 years, 10 months ago (2017-02-24 21:58:57 UTC) #59
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/2713073002/40001
3 years, 10 months ago (2017-02-24 22:04:27 UTC) #61
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/2713073002/60001
3 years, 10 months ago (2017-02-24 22:10:32 UTC) #64
commit-bot: I haz the power
3 years, 10 months ago (2017-02-25 00:47:50 UTC) #67
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/f788c53efa1ace1ef43714293ee3...

Powered by Google App Engine
This is Rietveld 408576698