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

Issue 2741253002: [CrOS Tether] Create KeepAliveScheduler, a class which schedules keep-alive tickles to be sent to a… (Closed)

Created:
3 years, 9 months ago by Kyle Horimoto
Modified:
3 years, 9 months ago
Reviewers:
Jeremy Klein
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 KeepAliveScheduler, a class which schedules keep-alive tickles to be sent to a connected host every 4 minutes until the device disconnects. BUG=672263 Review-Url: https://codereview.chromium.org/2741253002 Cr-Commit-Position: refs/heads/master@{#456249} Committed: https://chromium.googlesource.com/chromium/src/+/e4fe160f57cd3d79526b4e7b5c2d20be7014eadc

Patch Set 1 #

Patch Set 2 : Clean up imports. #

Patch Set 3 : Added tests for other modified files. #

Total comments: 9

Patch Set 4 : jlklein@ comments #

Patch Set 5 : Add missing dependency. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+711 lines, -14 lines) Patch
M chromeos/components/tether/BUILD.gn View 1 2 3 4 4 chunks +6 lines, -0 lines 0 comments Download
M chromeos/components/tether/active_host.h View 5 chunks +29 lines, -8 lines 0 comments Download
M chromeos/components/tether/active_host.cc View 3 chunks +37 lines, -2 lines 0 comments Download
M chromeos/components/tether/active_host_unittest.cc View 1 2 3 4 chunks +64 lines, -0 lines 0 comments Download
A chromeos/components/tether/fake_active_host.h View 1 chunk +54 lines, -0 lines 0 comments Download
A chromeos/components/tether/fake_active_host.cc View 1 chunk +95 lines, -0 lines 0 comments Download
M chromeos/components/tether/keep_alive_operation.h View 4 chunks +15 lines, -4 lines 0 comments Download
M chromeos/components/tether/keep_alive_operation.cc View 1 chunk +15 lines, -0 lines 0 comments Download
M chromeos/components/tether/keep_alive_operation_unittest.cc View 1 2 4 chunks +22 lines, -0 lines 0 comments Download
A chromeos/components/tether/keep_alive_scheduler.h View 1 chunk +66 lines, -0 lines 0 comments Download
A chromeos/components/tether/keep_alive_scheduler.cc View 1 2 3 1 chunk +77 lines, -0 lines 0 comments Download
A chromeos/components/tether/keep_alive_scheduler_unittest.cc View 1 1 chunk +231 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (7 generated)
Kyle Horimoto
3 years, 9 months ago (2017-03-10 23:38:15 UTC) #2
Jeremy Klein
https://codereview.chromium.org/2741253002/diff/40001/chromeos/components/tether/active_host_unittest.cc File chromeos/components/tether/active_host_unittest.cc (right): https://codereview.chromium.org/2741253002/diff/40001/chromeos/components/tether/active_host_unittest.cc#newcode197 chromeos/components/tether/active_host_unittest.cc:197: TEST_F(ActiveHostTest, TestObserverCalls) { Can we also add a test ...
3 years, 9 months ago (2017-03-10 23:58:08 UTC) #3
Kyle Horimoto
https://codereview.chromium.org/2741253002/diff/40001/chromeos/components/tether/active_host_unittest.cc File chromeos/components/tether/active_host_unittest.cc (right): https://codereview.chromium.org/2741253002/diff/40001/chromeos/components/tether/active_host_unittest.cc#newcode197 chromeos/components/tether/active_host_unittest.cc:197: TEST_F(ActiveHostTest, TestObserverCalls) { On 2017/03/10 23:58:08, Jeremy Klein wrote: ...
3 years, 9 months ago (2017-03-11 00:03:09 UTC) #4
Jeremy Klein
lgtm https://codereview.chromium.org/2741253002/diff/40001/chromeos/components/tether/keep_alive_scheduler.cc File chromeos/components/tether/keep_alive_scheduler.cc (right): https://codereview.chromium.org/2741253002/diff/40001/chromeos/components/tether/keep_alive_scheduler.cc#newcode24 chromeos/components/tether/keep_alive_scheduler.cc:24: std::unique_ptr<base::Timer> timer) On 2017/03/11 00:03:09, Kyle Horimoto wrote: ...
3 years, 9 months ago (2017-03-11 00:09:18 UTC) #5
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/2741253002/60001
3 years, 9 months ago (2017-03-11 00:11:00 UTC) #7
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/297619)
3 years, 9 months ago (2017-03-11 00:16:28 UTC) #9
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/2741253002/80001
3 years, 9 months ago (2017-03-11 00:43:54 UTC) #12
commit-bot: I haz the power
3 years, 9 months ago (2017-03-11 01:44:03 UTC) #15
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/e4fe160f57cd3d79526b4e7b5c2d...

Powered by Google App Engine
This is Rietveld 408576698