Chromium Code Reviews
Description[OfflinePages] Restarts immediate processing if stopped due to no net
Adds a ConnectionNotifier helper class to be able to learn when we get
connected and uses it in the Coordinator to try immediate start when
we get connected after stopping because we had no connection.
This is a memory-only network observer so only in effect if chrome stays
resident in memory. Otherwise, we still have the GcmNetworkManager
scheduler as a fallback.
BUG=670119
Committed: https://crrev.com/7103c6cef4c8ed86a090e605e9817d1852452dc2
Cr-Commit-Position: refs/heads/master@{#436040}
Patch Set 1 #
Total comments: 6
Patch Set 2 : Adds clearing of net observer if trying immediate and do have connection #Patch Set 3 : Added some unittests #
Total comments: 3
Patch Set 4 : New test method: CallConnectionTypeObserver() #
Messages
Total messages: 29 (17 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||