commit | 77922074848a3c728117a9eb65a7b09a1d0af334 | [log] [tgz] |
---|---|---|
author | Robbie McElrath <rmcelrath@chromium.org> | Thu Jul 19 00:37:37 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Jul 19 00:37:37 2018 |
tree | 1f68787ecdde05ccca538f35aa7dc9476c536ae2 | |
parent | c915f6568b03531c68550c88c631a0623dcd347a [diff] |
Reland "Migrate PrivetTrafficDetector to use NetworkConnectionTracker." This is a reland of 9b78521765f33993e81dfba771127fe9d5eb4add with test fixes. The failing unit tests weren't being run when I first landed this, but were enabled afterwards and started breaking, so I rolled back. Specifically, I PostTask'd (un)registering with the NetworkConnectionTracker to the right threads, and added a PrivetTrafficDetector::Stop method to clean up the registration and call it from PrivetNotificationService. Original change's description: > Migrate PrivetTrafficDetector to use NetworkConnectionTracker. > > This migrates PrivetTrafficDetector from using > net::NetworkChangeNotifier to content::NetworkConnectionTracker, which > works with the network service enabled. > > Bug: 859134 > Change-Id: I06f2ecbe142bbed9a8772f69ab109b0c0dc32581 > Reviewed-on: https://chromium-review.googlesource.com/1123681 > Reviewed-by: Julian Pastarmov <pastarmovj@chromium.org> > Reviewed-by: Lei Zhang <thestig@chromium.org> > Commit-Queue: Robbie McElrath <rmcelrath@chromium.org> > Cr-Commit-Position: refs/heads/master@{#574700} Bug: 859134 Change-Id: I19bc5bf0abdbd41cfbd3da1c0881f122adca6c2b Reviewed-on: https://chromium-review.googlesource.com/1137411 Reviewed-by: Lei Zhang <thestig@chromium.org> Reviewed-by: Helen Li <xunjieli@chromium.org> Commit-Queue: Robbie McElrath <rmcelrath@chromium.org> Cr-Commit-Position: refs/heads/master@{#576278}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .