commit | f18af04dd5cd0f6e4f4607b56eea0fec8c0ca053 | [log] [tgz] |
---|---|---|
author | Helen Li <xunjieli@chromium.org> | Thu Oct 19 17:26:07 2017 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Oct 19 17:26:07 2017 |
tree | a72b32bed10c295b4231a92e3dd17ca3217ff52d | |
parent | 042c62afc88095c7d46b4283eedf52479f149b8a [diff] |
[network service] Add a NetworkChangeManager interface This CL adds an interface to allow consumers to subscribe/unsubscribe to network change events. - mojom::NetworkChangeManager Listens to net::NetworkChangeNotifier and propagate notifications to mojom::NetworkChangeManagerClient. NetworkService will have a pointer to the impl of this interface. - mojom::NetworkChangeManagerClient The implementation of this interface(content::NetworkConnectionTracker) receives notifications from mojom::NetworkChangeManager, and then sends those down to its observers. Design doc: https://docs.google.com/document/d/1kBp_vTIH-1Jx4M9DN7mnqRRyUmeHe3BZ1NqTbsJ4_S8/edit Bug: 754709 Change-Id: Ia98dc41da9bb618fd00adfd6412d70d839cd13bb Reviewed-on: https://chromium-review.googlesource.com/644352 Commit-Queue: Helen Li <xunjieli@chromium.org> Reviewed-by: John Abd-El-Malek <jam@chromium.org> Reviewed-by: Matt Menke <mmenke@chromium.org> Reviewed-by: Paul Jensen <pauljensen@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org> Cr-Commit-Position: refs/heads/master@{#510117}
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 .